1
0
Fork 0
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:
Josh Cheek 2019-05-29 20:27:56 -05:00
parent e0e29dd12d
commit 6686a70116
No known key found for this signature in database
GPG key ID: A434B9B967222899

View file

@ -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.