void mutt_endwin(const char *msg)
{
if (!option(OPTNOCURSES)) {
- CLEARLINE(main_w, LINES - 1);
+ CLEARLINE(stdscr, LINES - 1);
if (sidebar_w) {
delwin(sidebar_w);
void ui_layout_init(void)
{
- clear();
+ erase();
main_w = newwin(LINES - 1, COLS, 0, 0);
SETCOLOR(main_w, MT_COLOR_NORMAL);
mutt_error = mutt_curses_error;