Use a different ANSI sequences for clearing lines.

Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
This commit is contained in:
Yorick Peterse 2012-06-22 10:00:43 +02:00
parent 96a4ca8eca
commit 7cde97ac32
1 changed files with 1 additions and 1 deletions

View File

@ -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
Kernel.print defined?(Win32::Console) ? "\e[0F" : "\e[0A\e[0G"
Kernel.print defined?(Win32::Console) ? "\e[0F" : "\e[0G"
end
# Enter the matrix