diff options
-rw-r--r-- | noice.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |
index : nnn.git | ||
forked from https://github.com/jarun/nnn | Tim Segers |
aboutsummaryrefslogtreecommitdiffstats |
-rw-r--r-- | noice.c | 2 |
@@ -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); |