diff options
author | Robert Schulze <[email protected]> | 2020-05-05 09:24:52 +0200 |
---|---|---|
committer | aycabta <[email protected]> | 2020-12-17 20:20:07 +0900 |
commit | 422e2c7274d9dbf1ff93dccc0c3c388f4775e636 (patch) | |
tree | eacf626b8c5037a1764acbe88de6bc6703fe57e2 /lib | |
parent | cdf2790aa089c5ff608dd97407b5ce684cc9f415 (diff) |
[ruby/reline] Use plus operator to create unfrozen string
https://github.com/ruby/reline/commit/ca274b0d37
Diffstat (limited to 'lib')
-rw-r--r-- | lib/reline/ansi.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/reline/ansi.rb b/lib/reline/ansi.rb index 0fddbcc854..b2d7e7d910 100644 --- a/lib/reline/ansi.rb +++ b/lib/reline/ansi.rb @@ -172,7 +172,7 @@ class Reline::ANSI def self.cursor_pos begin - res = String.new + res = +'' m = nil @@input.raw do |stdin| @@output << "\e[6n" |