aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--noice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/noice.c b/noice.c
index fa712ff..f44f8f9 100644
--- a/noice.c
+++ b/noice.c
@@ -332,7 +332,7 @@ readln(void)
echo();
curs_set(TRUE);
memset(ln, 0, sizeof(ln));
- getnstr(ln, sizeof(ln) - 1);
+ wgetnstr(stdscr, ln, sizeof(ln) - 1);
noecho();
curs_set(FALSE);
return strlen(ln) ? strdup(ln) : NULL;