X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=lib-ui%2Flayout.c;h=d8e09a4e1073845f2675b75dfe4e2e3f4dfd04a5;hb=547e4a6b93d0d70efd1841eaabfd625c03f28388;hp=bae1d2adc643ec19cffcb5692e6bf574b01d5c45;hpb=8ab1ab66eb1c4b95f9b2a5ed9c2b2cf1dfa74544;p=apps%2Fmadmutt.git diff --git a/lib-ui/layout.c b/lib-ui/layout.c index bae1d2a..d8e09a4 100644 --- a/lib-ui/layout.c +++ b/lib-ui/layout.c @@ -72,7 +72,6 @@ void mutt_endwin(const char *msg) } #endif - wattrset(stdscr, A_NORMAL); mutt_refresh(); endwin(); } @@ -85,9 +84,9 @@ void mutt_endwin(const char *msg) void ui_layout_init(void) { + clear(); main_w = newwin(LINES - 1, COLS, 0, 0); SETCOLOR(main_w, MT_COLOR_NORMAL); - wclear(main_w); mutt_error = mutt_curses_error; mutt_message = mutt_curses_message; }