From: Bryce Lanham Date: Tue, 11 Feb 2014 07:27:30 +0000 (-0600) Subject: Fixed help prompt not displaying properly X-Git-Url: https://scope-eye.net/git/?a=commitdiff_plain;h=4d33274982fa50af4cf70ee9ca4ec173588c0c88;p=liskon_frotz.git Fixed help prompt not displaying properly As with the other prompt, the help prompt needed a call to fflush --- 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;