Fix madmutt for stupid terms with only 64 colors.
[apps/madmutt.git] / lib-ui / enter.c
index bea29af..7fb61cc 100644 (file)
@@ -55,7 +55,7 @@ static int my_addwch (wchar_t wc)
   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))