From 47ec05565120a9637ec6d94fd1889b82d9fd93a0 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Wed, 1 Apr 2020 02:26:32 +0530 Subject: Fix #499: broken readline prompt --- src/nnn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nnn.c b/src/nnn.c index 8266882..81375a8 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -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(); } -- cgit v1.2.3-70-g09d2