diff options
author | Josh Cheek <josh.cheek@gmail.com> | 2019-05-29 20:27:56 -0500 |
---|---|---|
committer | Josh Cheek <josh.cheek@gmail.com> | 2019-05-29 20:27:56 -0500 |
commit | 6686a701167c48829cfe4dd25f9a2cbb5e76e5a2 (patch) | |
tree | d19380d6fdc7eff677f688f75c31c7db654976ca /lib | |
parent | e0e29dd12d0ab2d48059399e3aec5ce0155b4513 (diff) | |
download | pry-6686a701167c48829cfe4dd25f9a2cbb5e76e5a2.tar.gz |
REPL prints to the configured output, not directly to $stdout
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pry/repl.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pry/repl.rb b/lib/pry/repl.rb index d603e8de..a6174d5d 100644 --- a/lib/pry/repl.rb +++ b/lib/pry/repl.rb @@ -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. |