aboutsummaryrefslogtreecommitdiffstats
path: root/noice.c
diff options
context:
space:
mode:
authorsin <sin@2f30.org>2015-11-20 14:04:01 +0000
committersin <sin@2f30.org>2015-11-20 14:04:01 +0000
commit9b47bfd9aa26c0dbc3ed63dd1960918359cf09b0 (patch)
tree5d63399d4bcd7b0ccc7d98176a61bd941f6a4bd6 /noice.c
parent30ca80310aa805aee1e3501da6c6a27812855978 (diff)
downloadnoice-9b47bfd9aa26c0dbc3ed63dd1960918359cf09b0.tar.gz
Use wgetnstr() instead of getnstr() because IRIX lacks the latter
Diffstat (limited to 'noice.c')
-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;
Un proyecto texto-plano.xyz