pass an empty prompt to Readline.readline() from Pry::SimplePager.
fixes #1048.
This commit is contained in:
parent
54a7f9a139
commit
f0de5fa9eb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue