diff options
Diffstat (limited to 'nnn.c')
-rw-r--r-- | nnn.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1297,14 +1297,13 @@ static char *xreadline(char *fname, char *prompt) } END: - buf[len] = '\0'; - curs_set(FALSE); settimeout(); + clearprompt(); + buf[len] = '\0'; DPRINTF_S(buf); wcstombs(g_buf + ((NAME_MAX + 1) << 4), buf, NAME_MAX); - clearprompt(); return g_buf + ((NAME_MAX + 1) << 4); } |