From 9b47bfd9aa26c0dbc3ed63dd1960918359cf09b0 Mon Sep 17 00:00:00 2001 From: sin Date: Fri, 20 Nov 2015 14:04:01 +0000 Subject: [PATCH] Use wgetnstr() instead of getnstr() because IRIX lacks the latter --- noice.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noice.c b/noice.c index fa712ffa..f44f8f90 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;