diff --git a/lib/highline.rb b/lib/highline.rb index 5a002da..b64410d 100644 --- a/lib/highline.rb +++ b/lib/highline.rb @@ -380,6 +380,7 @@ def say(statement) output.flush else output.puts(statement) + output.flush # Buffer might not flush always re: https://stackoverflow.com/questions/63744814/puts-doesnt-flush-the-buffer-in-io-redirection-program end end