From 3b801a8c15622f8db70337d4f16d123328e5fc39 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 20 Jan 2015 03:32:10 +0000 Subject: [PATCH] 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 --- tool/redmine-backporter.rb | 1 + 1 file changed, 1 insertion(+) 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