--000e0cd328169933e8048b72a57f Content-Type: text/plain; charset=ISO-8859-1 Works fine ! Thanks again B On Thu, Jul 15, 2010 at 4:27 PM, James Edward Gray II <james / graysoftinc.com > wrote: > On Jul 15, 2010, at 1:31 AM, LAMBEAU Bernard wrote: > > > P.S. Don't know it's a bug, but with page_at set to :auto, two lines are > > hidden on each page (probably due to the "\n-- press enter/return to > > continue or q to stop -- q" message). Don't know if it's clear, ... you > can try the following: > > > > <pre> > > require 'rubygems' > > require 'highline' > > h ighLine.new > > h.page_at auto > > h.say((1..1000).collect{|i| i.to_s}.join("\n")) > > </pre> > > > > On a terminal 80x24, the first page starts shows 3 to 24, the second page > 27 > > to 48, and so on. > > Looks like a bug to me, yep. > > > Anyway, using "h.page_at .output_rows-2" works fine... > > I applied your fix: > > http://github.com/JEG2/highline > > Thanks again! > > James Edward Gray II > --000e0cd328169933e8048b72a57f--