From 4d33274982fa50af4cf70ee9ca4ec173588c0c88 Mon Sep 17 00:00:00 2001 From: Bryce Lanham Date: Tue, 11 Feb 2014 01:27:30 -0600 Subject: [PATCH] Fixed help prompt not displaying properly As with the other prompt, the help prompt needed a call to fflush --- src/dumb/dumb_input.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dumb/dumb_input.c b/src/dumb/dumb_input.c index 2a3212c..0d657b5 100644 --- a/src/dumb/dumb_input.c +++ b/src/dumb/dumb_input.c @@ -270,6 +270,7 @@ static bool dumb_read_line(char *s, char *prompt, bool show_cursor, if (!*current_page) break; printf("HELP: Type for more, or q to stop: "); + fflush(stdout); dumb_getline(s); if (!strcmp(s, "q\n")) break; -- 2.34.1