mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Reopen $stderr with specified fd by RELINE_STDERR_TTY
This commit is contained in:
parent
b508b623ee
commit
be86e71c67
1 changed files with 3 additions and 0 deletions
|
@ -273,6 +273,9 @@ module Reline
|
|||
end
|
||||
|
||||
def inner_readline(prompt, add_hist, multiline, &confirm_multiline_termination)
|
||||
if ENV['RELINE_STDERR_TTY']
|
||||
$stderr.reopen(ENV['RELINE_STDERR_TTY'], 'w')
|
||||
end
|
||||
@@config.read
|
||||
otio = Reline::IOGate.prep
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue