From 67eaf20d50922e9f745e01a8d6d99fb9c3ea3bec Mon Sep 17 00:00:00 2001 From: Samuel Mendoza-Jonas Date: Wed, 8 Oct 2014 14:03:49 +1100 Subject: [PATCH] ui/ncurses: Expand width of pad Widgets running over the horizontal width of the pad will cause the screen to blank. Expand the (non-viewable) size of the pad to prevent blanking until shorter translations are available for nc-config. Signed-off-by: Samuel Mendoza-Jonas --- ui/ncurses/nc-config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/ncurses/nc-config.c b/ui/ncurses/nc-config.c index 551b9d2..17cc380 100644 --- a/ui/ncurses/nc-config.c +++ b/ui/ncurses/nc-config.c @@ -795,7 +795,7 @@ static void config_screen_draw(struct config_screen *screen, if (!screen->pad || getmaxy(screen->pad) < height) { if (screen->pad) delwin(screen->pad); - screen->pad = newpad(height, COLS); + screen->pad = newpad(height, COLS + 10); } if (screen->widgetset) { -- 2.39.2