Skip to content

Commit de49ac9

Browse files
committed
Flush the output buffer in jerry_port_print_buffer
JerryScript-DCO-1.0-Signed-off-by: Roland Takacs rtakacs@inf.u-szeged.hu
1 parent 6fe763f commit de49ac9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

jerry-port/common/jerry-port-io.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ jerry_port_print_buffer (const jerry_char_t *buffer_p, /**< string buffer */
5050
{
5151
jerry_port_print_byte (buffer_p[i]);
5252
}
53+
54+
fflush (stdout);
5355
} /* jerry_port_print_byte */
5456

5557
/**

0 commit comments

Comments
 (0)