ruby-changes:33110
From: naruse <ko1@a...>
Date: Thu, 27 Feb 2014 13:10:20 +0900 (JST)
Subject: [ruby-changes:33110] naruse:r45188 (trunk): tool/redmine-backporter.rb: scroll 1 lind on Enter key
naruse 2014-02-27 13:10:00 +0900 (Thu, 27 Feb 2014) New Revision: 45188 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45188 Log: tool/redmine-backporter.rb: scroll 1 lind on Enter key Modified files: trunk/tool/redmine-backporter.rb Index: tool/redmine-backporter.rb =================================================================== --- tool/redmine-backporter.rb (revision 45187) +++ tool/redmine-backporter.rb (revision 45188) @@ -180,10 +180,10 @@ def more(sio) https://github.com/ruby/ruby/blob/trunk/tool/redmine-backporter.rb#L180 until ss.eos? print ":" case c = console.getch - when ' ', "\x04" + when ' ' rows = ss.getrows(lx, ly) puts cls + rows - when 'j', "" + when 'j', "\r" rows = ss.getrows(lx, 1) puts cls + rows when "q" -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/