Fix #499: add fflush() as well

This commit is contained in:
Arun Prakash Jana 2020-04-01 15:16:21 +05:30
parent ef159b9985
commit a3f509ffc6
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

@ -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_CONFIRM) {
printf("%s", messages[MSG_CONTINUE]);
#ifndef NORL
fflush(stdout);
#endif
while (getchar() != '\n');
}
refresh();