mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Use wgetnstr() instead of getnstr() because IRIX lacks the latter
This commit is contained in:
parent
30ca80310a
commit
9b47bfd9aa
2
noice.c
2
noice.c
|
@ -332,7 +332,7 @@ readln(void)
|
||||||
echo();
|
echo();
|
||||||
curs_set(TRUE);
|
curs_set(TRUE);
|
||||||
memset(ln, 0, sizeof(ln));
|
memset(ln, 0, sizeof(ln));
|
||||||
getnstr(ln, sizeof(ln) - 1);
|
wgetnstr(stdscr, ln, sizeof(ln) - 1);
|
||||||
noecho();
|
noecho();
|
||||||
curs_set(FALSE);
|
curs_set(FALSE);
|
||||||
return strlen(ln) ? strdup(ln) : NULL;
|
return strlen(ln) ? strdup(ln) : NULL;
|
||||||
|
|
Loading…
Reference in a new issue