From 295e4bfd04a54eb72561d5a3cd723b42aa214ff1 Mon Sep 17 00:00:00 2001 From: naruse Date: Thu, 27 Feb 2014 04:10:00 +0000 Subject: [PATCH] tool/redmine-backporter.rb: scroll 1 lind on Enter key git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- tool/redmine-backporter.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tool/redmine-backporter.rb b/tool/redmine-backporter.rb index e60c57b438..8c124d4f79 100755 --- a/tool/redmine-backporter.rb +++ b/tool/redmine-backporter.rb @@ -180,10 +180,10 @@ def more(sio) 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"