diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-01-20 03:32:10 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-01-20 03:32:10 +0000 |
commit | 3b801a8c15622f8db70337d4f16d123328e5fc39 (patch) | |
tree | 9102fca6f6cc445a6db975bfd4d2a701f536e7c9 /tool | |
parent | 64318f2a71ffd037aef70b3363654c6be8113263 (diff) | |
download | ruby-3b801a8c15622f8db70337d4f16d123328e5fc39.tar.gz |
redmine-backporter.rb: fix for Windows
* tool/redmine-backporter.rb (readline): make binmode so that
single enter works on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rwxr-xr-x | tool/redmine-backporter.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tool/redmine-backporter.rb b/tool/redmine-backporter.rb index c2dc74237a..4b63eb1fb2 100755 --- a/tool/redmine-backporter.rb +++ b/tool/redmine-backporter.rb @@ -197,6 +197,7 @@ end def readline(prompt = '') console = IO.console + console.binmode ly, lx = console.winsize cls = "\r" + (" " * lx) + "\r" + prompt console.print prompt |