diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2020-04-01 02:26:32 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2020-04-01 02:26:32 +0530 |
commit | 47ec05565120a9637ec6d94fd1889b82d9fd93a0 (patch) | |
tree | e79b380cb7d37c6b2e63fe07e5dedb42fe0db81f | |
parent | c01857cddbc18798571f6d382e01e842684a491a (diff) | |
download | nnn-47ec05565120a9637ec6d94fd1889b82d9fd93a0.tar.gz |
Fix #499: broken readline prompt
-rw-r--r-- | src/nnn.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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(); } |