aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/reline.rb8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/reline.rb b/lib/reline.rb
index 5f3c0e416e..55e5c5ee61 100644
--- a/lib/reline.rb
+++ b/lib/reline.rb
@@ -304,13 +304,7 @@ module Reline
def inner_readline(prompt, add_hist, multiline, &confirm_multiline_termination)
if ENV['RELINE_STDERR_TTY']
$stderr.reopen(ENV['RELINE_STDERR_TTY'], 'w')
- class << $stderr
- alias :old_puts :puts
- def puts(*v)
- old_puts(*v)
- flush
- end
- end
+ $stderr.sync = true
end
@@config.read
otio = Reline::IOGate.prep