waddstr (stdscr, (char *) (def == M_YES ? yes : no));
mutt_refresh ();
}
+ CLEARLINE(stdscr, LINES - 1);
return (def);
}
void curses_initialize(void)
{
+ if (initscr () == NULL) {
+ puts _("Error initializing terminal.");
+ exit (1);
+ }
ci_start_color();
keypad(stdscr, true);
cbreak();