* please see the file GPL in the top level source directory.
*/
-#include <lib-lib/lib-lib.h>
+#include <lib-ui/lib-ui.h>
-#include "curses.h"
#include "enter.h"
#include "menu.h"
int n = wcwidth (wc);
if (iswprint(wc) && n > 0)
- return mutt_addwch (wc);
+ return waddwch(stdscr, wc);
if (!(wc & ~0x7f))
return wprintw (stdscr, "^%c", ((int) wc + 0x40) & 0x7f);
if (!(wc & ~0xffff))