From 5baf7e4bfc873bc461df402dff347763185b9adc Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Thu, 20 Mar 2008 19:51:34 +0100 Subject: [PATCH] redisplay also last line --- newt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/newt.c b/newt.c index 51b5a2d..e142558 100644 --- a/newt.c +++ b/newt.c @@ -214,7 +214,7 @@ static int getkey() { int c; while ((c = SLang_getkey()) == '\xC') { /* if Ctrl-L redraw whole screen */ - SLsmg_touch_lines (0, SLtt_Screen_Rows - 1); + SLsmg_touch_lines(0, SLtt_Screen_Rows); SLsmg_refresh(); } return c; @@ -268,7 +268,7 @@ void newtResizeScreen(int redraw) { SLtt_get_screen_size(); /* SLsmg_reinit_smg(); */ if (redraw) { - SLsmg_touch_lines (0, SLtt_Screen_Rows - 1); + SLsmg_touch_lines(0, SLtt_Screen_Rows); newtRefresh(); } } @@ -1017,6 +1017,6 @@ void newtCursorOn(void) { void newtTrashScreen(void) { if (trashScreen) - SLsmg_touch_lines (0, SLtt_Screen_Rows - 1); + SLsmg_touch_lines(0, SLtt_Screen_Rows); } -- 2.47.2