diff options
author | sin <sin@2f30.org> | 2015-11-20 14:04:01 +0000 |
---|---|---|
committer | sin <sin@2f30.org> | 2015-11-20 14:04:01 +0000 |
commit | 9b47bfd9aa26c0dbc3ed63dd1960918359cf09b0 (patch) | |
tree | 5d63399d4bcd7b0ccc7d98176a61bd941f6a4bd6 /noice.c | |
parent | 30ca80310aa805aee1e3501da6c6a27812855978 (diff) | |
download | noice-9b47bfd9aa26c0dbc3ed63dd1960918359cf09b0.tar.gz |
Use wgetnstr() instead of getnstr() because IRIX lacks the latter
Diffstat (limited to 'noice.c')
-rw-r--r-- | noice.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |