mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Fix #499
This commit is contained in:
parent
6e6d3cba0d
commit
91bd84cd5d
|
@ -1710,7 +1710,6 @@ static int spawn(char *file, char *arg1, char *arg2, const char *dir, uchar flag
|
|||
if (flag & F_NORMAL) {
|
||||
if (flag & F_CONFIRM) {
|
||||
printf("%s", messages[MSG_CONTINUE]);
|
||||
fflush(stdout);
|
||||
while (getchar() != '\n');
|
||||
}
|
||||
refresh();
|
||||
|
@ -6212,7 +6211,7 @@ nochange:
|
|||
#ifndef NORL
|
||||
} else {
|
||||
presel = 0;
|
||||
tmp = getreadline(">>> ", path, ipath, &presel);
|
||||
tmp = getreadline("\n>>> ", path, ipath, &presel);
|
||||
if (presel == MSGWAIT)
|
||||
goto nochange;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue