X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=lib-ui%2Fcurs_main.c;h=3fe1cd3d1c66ddb11988e0dc44676198e8565578;hb=eab27dfc9eb0f7b21b560f37ec28f48cfbfa9f40;hp=3ba1c56b33470d7ee61adc720a17e9f1bb2f5298;hpb=8e39affbf1cd8a2a5ff5c9991650d54fdcea4997;p=apps%2Fmadmutt.git diff --git a/lib-ui/curs_main.c b/lib-ui/curs_main.c index 3ba1c56..3fe1cd3 100644 --- a/lib-ui/curs_main.c +++ b/lib-ui/curs_main.c @@ -10,13 +10,12 @@ * please see the file GPL in the top level source directory. */ -#include +#include #include #include #include "pop.h" -#include "curses.h" #include "menu.h" #include "mutt.h" @@ -500,7 +499,6 @@ int mutt_index_menu (void) if (menu->redraw & REDRAW_STATUS) { menu_status_line (buf, sizeof (buf), menu, NONULL (Status)); CLEARLINE (option (OPTSTATUSONTOP) ? 0 : LINES - 2); - sidebar_draw_frames(); SETCOLOR (MT_COLOR_STATUS); BKGDSET (MT_COLOR_STATUS); wmove(stdscr, option (OPTSTATUSONTOP) ? 0 : LINES - 2,SW); @@ -532,16 +530,10 @@ int mutt_index_menu (void) if (SigWinch) { mutt_flushinp (); - mutt_resize_screen (); + ui_layout_resize(); menu->redraw = REDRAW_FULL; menu->menu = MENU_MAIN; - SigWinch = 0; menu->top = 0; /* so we scroll the right amount */ - /* - * force a real complete redraw. wclrtobot(stdscr) doesn't seem to be able - * to handle every case without this. - */ - clearok (stdscr, TRUE); continue; }