diff --git a/ChangeLog b/ChangeLog index be51e36e83..062163312b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Jan 20 12:28:37 2015 NAKAMURA Usaku + + * tool/redmine-backporter.rb (readline): fallback to normal gets on + Windows because IO.console.getch is not always do as expected. + Tue Jan 20 11:31:07 2015 NAKAMURA Usaku * tool/redmine-backporter.rb: update usage. 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