nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 41db3c460f2c626c2cefd92ae78973f52a9563ae
parent 5a92f647f41ef75501b518a0b5b491cfc5fe8914
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Wed,  7 Nov 2018 22:13:56 +0530

Reorder operations

Diffstat:
Mnnn.c | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/nnn.c b/nnn.c @@ -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); }