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