Disable many "stupid" CLI options or some that will have better equivalents soon...
[apps/madmutt.git] / lib-ui / layout.c
index bae1d2a..d8e09a4 100644 (file)
@@ -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;
 }