noice

small file browser
git clone git://git.2f30.org/noice
Log | Files | Refs | README | LICENSE

commit 9b47bfd9aa26c0dbc3ed63dd1960918359cf09b0
parent 30ca80310aa805aee1e3501da6c6a27812855978
Author: sin <sin@2f30.org>
Date:   Fri, 20 Nov 2015 14:04:01 +0000

Use wgetnstr() instead of getnstr() because IRIX lacks the latter

Diffstat:
Mnoice.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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;