int c;
- mvwprintw(main_w, LINES - 1, 0, "%s? (D/N/O/r/*/!): ",
+ mvwprintw(stdscr, LINES - 1, 0, "%s? (D/N/O/r/*/!): ",
bf ? _("Set flag") : _("Clear flag"));
- wclrtoeol(main_w);
-
+ wclrtoeol(stdscr);
c = mutt_getch().ch;
+ CLEARLINE(stdscr, LINES - 1);
if (c == -1) {
- CLEARLINE(main_w, LINES - 1);
return (-1);
}
- CLEARLINE(main_w, LINES - 1);
-
if (c < 0 || c > countof(actions) || !actions[c]) {
BEEP();
return -1;