diff --git a/vlib/readline/readline_linux.c.v b/vlib/readline/readline_linux.c.v index 327cb794f5..4dca991c32 100644 --- a/vlib/readline/readline_linux.c.v +++ b/vlib/readline/readline_linux.c.v @@ -114,6 +114,7 @@ pub fn (r mut Readline) read_line_utf8(prompt string) ?ustring { print(r.prompt) for { + C.fflush(C.stdout) c := r.read_char() a := r.analyse(c) if r.execute(a, c) {