mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
REPL prints to the configured output, not directly to $stdout
This commit is contained in:
parent
e0e29dd12d
commit
6686a70116
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ class Pry
|
|||
return unless pry.config.correct_indent
|
||||
|
||||
# Clear the line before starting Pry. This fixes issue #566.
|
||||
Kernel.print(Helpers::Platform.windows_ansi? ? "\e[0F" : "\e[0G")
|
||||
output.print(Helpers::Platform.windows_ansi? ? "\e[0F" : "\e[0G")
|
||||
end
|
||||
|
||||
# The actual read-eval-print loop.
|
||||
|
|
Loading…
Reference in a new issue