This website works better with JavaScript.
Home
Explore
Help
Sign In
Immanuel
/
nnn
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Use wgetnstr() instead of getnstr() because IRIX lacks the latter
master
sin
9 years ago
parent
30ca80310a
commit
9b47bfd9aa
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
noice.c
+ 1
- 1
noice.c
View File
@@ -332,7 +332,7 @@ readln(void)
echo();
curs_set(TRUE);
memset(ln, 0, sizeof(ln));
getnstr(ln, sizeof(ln) - 1);
w
getnstr(
stdscr,
ln, sizeof(ln) - 1);
noecho();
curs_set(FALSE);
return strlen(ln) ? strdup(ln) : NULL;
Write
Preview
Loading…
Cancel
Save