mirror of
https://github.com/jarun/nnn.git
synced 2025-03-31 18:46:33 +00:00
Make room for null-terminator
This commit is contained in:
parent
f77b6a3fa6
commit
ea0cce7b63
1 changed files with 1 additions and 1 deletions
2
noice.c
2
noice.c
|
@ -331,7 +331,7 @@ readln(void)
|
|||
|
||||
echo();
|
||||
curs_set(TRUE);
|
||||
getnstr(ln, sizeof(ln));
|
||||
getnstr(ln, sizeof(ln) - 1);
|
||||
noecho();
|
||||
curs_set(FALSE);
|
||||
return strdup(ln);
|
||||
|
|
Loading…
Add table
Reference in a new issue