pass an empty prompt to Readline.readline() from Pry::SimplePager.

fixes #1048.
This commit is contained in:
Robert Gleeson 2013-12-20 20:28:53 +01:00
parent 54a7f9a139
commit f0de5fa9eb
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ module Pry::Pager
@out.print "\e[0m" if Pry.color
@out.print "<page break> --- Press enter to continue " \
"( q<enter> to break ) --- <page break>\n"
raise StopPaging if Readline.readline.chomp == "q"
raise StopPaging if Readline.readline("").chomp == "q"
@tracker.reset
end
end