waddstr (stdscr, (char *) (def == M_YES ? yes : no));
mutt_refresh ();
}
+ CLEARLINE(stdscr, LINES - 1);
return (def);
}
void curses_initialize(void)
{
+ initscr();
ci_start_color();
- keypad(stdscr, true);
- cbreak();
noecho();
- typeahead (-1); /* simulate smooth scrolling */
+ raw();
+ keypad(stdscr, true);
+ typeahead(-1);
meta(stdscr, true);
+ curs_set(0);
+ ESCDELAY = 50;
}
/*