class HighLine::Paginator
def continue_paging?
type "q" to cancel the paging process.
Ask user if they wish to continue paging output. Allows them to
def continue_paging? command = highline.new_scope.ask( "-- press enter/return to continue or q to stop -- " ) { |q| q.character = true } command !~ /\A[qQ]\Z/ # Only continue paging if Q was not hit. end