diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-02-27 04:10:00 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-02-27 04:10:00 +0000 |
commit | 295e4bfd04a54eb72561d5a3cd723b42aa214ff1 (patch) | |
tree | 7061d04cec9cf0b65cbbd28ef07f7c58d49af363 /tool | |
parent | c1fc20124c269eab6a863e48c6647884b883de88 (diff) | |
download | ruby-295e4bfd04a54eb72561d5a3cd723b42aa214ff1.tar.gz |
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
Diffstat (limited to 'tool')
-rwxr-xr-x | tool/redmine-backporter.rb | 4 |
1 files 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" |