mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +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_NORMAL) {
|
||||||
if (flag & F_CONFIRM) {
|
if (flag & F_CONFIRM) {
|
||||||
printf("%s", messages[MSG_CONTINUE]);
|
printf("%s", messages[MSG_CONTINUE]);
|
||||||
fflush(stdout);
|
|
||||||
while (getchar() != '\n');
|
while (getchar() != '\n');
|
||||||
}
|
}
|
||||||
refresh();
|
refresh();
|
||||||
|
@ -6212,7 +6211,7 @@ nochange:
|
||||||
#ifndef NORL
|
#ifndef NORL
|
||||||
} else {
|
} else {
|
||||||
presel = 0;
|
presel = 0;
|
||||||
tmp = getreadline(">>> ", path, ipath, &presel);
|
tmp = getreadline("\n>>> ", path, ipath, &presel);
|
||||||
if (presel == MSGWAIT)
|
if (presel == MSGWAIT)
|
||||||
goto nochange;
|
goto nochange;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue