1
0
Fork 0
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:
Conrad Irwin 2013-11-09 17:46:00 -05:00
parent bd4817ec15
commit c74aa8a4a4

View file

@ -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