diff --git a/lib/pry/pry_class.rb b/lib/pry/pry_class.rb index 687228c7..3478f54c 100644 --- a/lib/pry/pry_class.rb +++ b/lib/pry/pry_class.rb @@ -138,7 +138,7 @@ class Pry # Clear the line before starting Pry. This fixes the issue discussed here: # https://github.com/pry/pry/issues/566 if Pry.config.auto_indent - puts if defined?(Win32::Console) ? "\e[0F" : "\e[0A\e[0G" + puts defined?(Win32::Console) ? "\e[0F" : "\e[0A\e[0G" end # Enter the matrix