diff options
-rwxr-xr-x | lib/highline.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/highline.rb b/lib/highline.rb index 19fe032..a08295a 100755 --- a/lib/highline.rb +++ b/lib/highline.rb @@ -989,7 +989,7 @@ class HighLine # instead. This is to support any special handling for the final sequence. # def page_print( output ) - lines = output.lines + lines = output.lines.to_a while lines.size > @page_at @output.puts lines.slice!(0...@page_at).join @output.puts |