From: Michael Elkins Date: Mon, 11 Nov 2002 19:53:58 +0000 (+0000) Subject: Fix #1310; redraw problems. X-Git-Tag: mutt-1-5-2-rel~25 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c29a4d4abcbda9c8f03a3844355dfe338e4d7708;p=mutt Fix #1310; redraw problems. --- diff --git a/PATCHES b/PATCHES index e69de29b..1b6b4194 100644 --- a/PATCHES +++ b/PATCHES @@ -0,0 +1 @@ +patch-1.5.1-me.redraw.1 diff --git a/curs_main.c b/curs_main.c index 61fd0d2f..dadaeb84 100644 --- a/curs_main.c +++ b/curs_main.c @@ -592,6 +592,11 @@ int mutt_index_menu (void) menu->menu = MENU_MAIN; SigWinch = 0; menu->top = 0; /* so we scroll the right amount */ + /* + * force a real complete redraw. clrtobot() doesn't seem to be able + * to handle every case without this. + */ + clearok(stdscr,TRUE); continue; } #endif diff --git a/menu.c b/menu.c index cfa47870..824c2833 100644 --- a/menu.c +++ b/menu.c @@ -883,6 +883,7 @@ int mutt_menuLoop (MUTTMENU *menu) mutt_resize_screen (); menu->redraw = REDRAW_FULL; SigWinch = 0; + clearok(stdscr,TRUE);/*force complete redraw*/ } #endif diff --git a/pager.c b/pager.c index 8cdf3906..568f20a3 100644 --- a/pager.c +++ b/pager.c @@ -1807,6 +1807,7 @@ mutt_pager (const char *banner, const char *fname, int flags, pager_t *extra) } SigWinch = 0; + clearok(stdscr,TRUE);/*force complete redraw*/ continue; } #endif