aboutsummaryrefslogtreecommitdiff
path: root/src/lib/libc/readline.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/readline.c')
-rw-r--r--src/lib/libc/readline.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/libc/readline.c b/src/lib/libc/readline.c
index 20c2007..c93bfe2 100644
--- a/src/lib/libc/readline.c
+++ b/src/lib/libc/readline.c
@@ -21,6 +21,7 @@ char *readline(const char* prompt) {
// readline_history *h = &stdio_history;
puts(prompt);
+ fflush(stdout);
char* buf = malloc(READLINE_MAX_LEN);
if (buf == NULL) return NULL;