From d1d5264c6c89e6d7573e715a7a6c2cf4cae2e5f9 Mon Sep 17 00:00:00 2001 From: usa Date: Tue, 3 Mar 2015 14:42:15 +0000 Subject: * tool/redmine-backporter.rb (Readline.readline): drop untreated control characters. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- tool/redmine-backporter.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tool/redmine-backporter.rb') diff --git a/tool/redmine-backporter.rb b/tool/redmine-backporter.rb index 54cb631543..0bd0b3f898 100755 --- a/tool/redmine-backporter.rb +++ b/tool/redmine-backporter.rb @@ -239,8 +239,10 @@ class << Readline print cls print line else - print c - line << c + if c >= " " + print c + line << c + end end end end -- cgit v1.2.1