nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit a3f509ffc688b2c6db822a759ddb3edfed453333
parent ef159b99850553841ab6d3842e8c7fa6c2096685
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Wed,  1 Apr 2020 15:16:21 +0530

Fix #499: add fflush() as well

Diffstat:
Msrc/nnn.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/nnn.c b/src/nnn.c @@ -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();