1
1
mirror of https://github.com/jarun/nnn.git synced 2024-09-17 15:57:17 +03:00

Fix #499: broken readline prompt

This commit is contained in:
Arun Prakash Jana 2020-04-01 02:26:32 +05:30
parent c01857cddb
commit 47ec055651
No known key found for this signature in database
GPG Key ID: A75979F35C080412

View File

@ -1710,9 +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]);
fflush(stdout);
while (getchar() != '\n');
}
refresh();
}