mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
Fix paging on jruby [Fixes #992]
This commit is contained in:
parent
bd4817ec15
commit
c74aa8a4a4
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ class Pry::Pager
|
|||
break if chunk.size < page_size
|
||||
if text_array.size > page_size
|
||||
puts "\n<page break> --- Press enter to continue ( q<enter> to break ) --- <page break>"
|
||||
break if $stdin.gets.chomp == "q"
|
||||
break if Readline.readline.chomp == "q"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue