projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
WHAT_KEY has better equivalents in other tools.
[apps/madmutt.git]
/
lib-ui
/
enter.c
diff --git
a/lib-ui/enter.c
b/lib-ui/enter.c
index
dcd5bcf
..
7fb61cc
100644
(file)
--- a/
lib-ui/enter.c
+++ b/
lib-ui/enter.c
@@
-8,9
+8,8
@@
* please see the file GPL in the top level source directory.
*/
* 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"
#include "enter.h"
#include "menu.h"
@@
-56,7
+55,7
@@
static int my_addwch (wchar_t wc)
int n = wcwidth (wc);
if (iswprint(wc) && n > 0)
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))
if (!(wc & ~0x7f))
return wprintw (stdscr, "^%c", ((int) wc + 0x40) & 0x7f);
if (!(wc & ~0xffff))