Skip to content

Commit 7e22d57

Browse files
committed
README.md
1 parent f6add9d commit 7e22d57

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ cpu.hook do |context, address|
7979
end
8080
end
8181

82+
$stdout.sync = true if $stdout.tty?
83+
8284
ARGV.each do |file_path|
8385
program = file_path == '-' ? $stdin.read : File.read(file_path)
8486
puts "#{file_path}:"
@@ -170,6 +172,8 @@ cpu.hook do |context, address|
170172
end
171173
end
172174

175+
$stdout.sync = true if $stdout.tty?
176+
173177
ARGV.each do |file_path|
174178
program = file_path == '-' ? $stdin.read : File.read(file_path)
175179
puts "#{file_path}:"

0 commit comments

Comments
 (0)