Skip to content

Commit 10bfc1e

Browse files
committed
flush STDOUT before sleep
1 parent 1a5af94 commit 10bfc1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/perlonjava/runtime/RuntimeScalar.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1563,7 +1563,7 @@ public RuntimeScalar hex() {
15631563

15641564
public RuntimeScalar sleep() {
15651565

1566-
// Flush stdout and stderr before reading, in case we are displaying a prompt
1566+
// Flush stdout and stderr before sleep, in case we are displaying a prompt
15671567
if (stdout.needFlush) {
15681568
stdout.flush();
15691569
}

0 commit comments

Comments
 (0)