summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
Diffstat (limited to 'tool')
-rwxr-xr-xtool/redmine-backporter.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/tool/redmine-backporter.rb b/tool/redmine-backporter.rb
index bda4abcc56..c2dc74237a 100755
--- a/tool/redmine-backporter.rb
+++ b/tool/redmine-backporter.rb
@@ -201,6 +201,7 @@ def readline(prompt = '')
cls = "\r" + (" " * lx) + "\r" + prompt
console.print prompt
console.flush
+ return gets.chomp if /mswin|mingw/ =~ RUBY_PLATFORM
line = ''
while 1
case c = console.getch