JEG2 / highline

A higher level command-line oriented interface.
Other
1.29k stars 137 forks source link

Update say to always flush the output after a puts #276

Closed blipper closed 2 months ago

blipper commented 2 months ago

Buffer might not flush always re: https://stackoverflow.com/questions/63744814/puts-doesnt-flush-the-buffer-in-io-redirection-program

abinoam commented 2 months ago

Since HighLine is primarily used for user interaction, I agree with you that it's better to ensure the flush.

abinoam commented 2 months ago

Released at https://rubygems.org/gems/highline/versions/3.1.1 :rocket:

Thank you for the PR!