mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 20:01:27 +00:00
Fix #499: add fflush() as well
This commit is contained in:
parent
ef159b9985
commit
a3f509ffc6
|
@ -1710,6 +1710,9 @@ 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]);
|
||||||
|
#ifndef NORL
|
||||||
|
fflush(stdout);
|
||||||
|
#endif
|
||||||
while (getchar() != '\n');
|
while (getchar() != '\n');
|
||||||
}
|
}
|
||||||
refresh();
|
refresh();
|
||||||
|
|
Loading…
Reference in a new issue