Commit c29a4d4a authored by Michael Elkins's avatar Michael Elkins

Fix #1310; redraw problems.

parent 93ef1ec0
patch-1.5.1-me.redraw.1
......@@ -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
......
......@@ -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
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment