Skip to content

Commit 3399210

Browse files
committed
Ensure command prompt to be appeared when REPL is used
JerryScript-DCO-1.0-Signed-off-by: Roland Takacs rtakacs@inf.u-szeged.hu
1 parent f5a8dc0 commit 3399210

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

jerry-ext/util/repl.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jerryx_repl (const char *prompt_p)
3030
while (true)
3131
{
3232
jerryx_print_string (prompt_p);
33+
fflush (stdout);
3334

3435
jerry_size_t length;
3536
jerry_char_t *line_p = jerry_port_line_read (&length);

0 commit comments

Comments
 (0)