mirror of
https://github.com/jarun/nnn.git
synced 2025-01-09 17:39:38 +00:00
Reorder operations
This commit is contained in:
parent
5a92f647f4
commit
41db3c460f
5
nnn.c
5
nnn.c
|
@ -1297,14 +1297,13 @@ static char *xreadline(char *fname, char *prompt)
|
||||||
}
|
}
|
||||||
|
|
||||||
END:
|
END:
|
||||||
buf[len] = '\0';
|
|
||||||
|
|
||||||
curs_set(FALSE);
|
curs_set(FALSE);
|
||||||
settimeout();
|
settimeout();
|
||||||
|
clearprompt();
|
||||||
|
|
||||||
|
buf[len] = '\0';
|
||||||
DPRINTF_S(buf);
|
DPRINTF_S(buf);
|
||||||
wcstombs(g_buf + ((NAME_MAX + 1) << 4), buf, NAME_MAX);
|
wcstombs(g_buf + ((NAME_MAX + 1) << 4), buf, NAME_MAX);
|
||||||
clearprompt();
|
|
||||||
return g_buf + ((NAME_MAX + 1) << 4);
|
return g_buf + ((NAME_MAX + 1) << 4);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue