We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a982d6e commit ca274b0Copy full SHA for ca274b0
lib/reline/ansi.rb
@@ -81,7 +81,7 @@ def self.set_screen_size(rows, columns)
81
82
def self.cursor_pos
83
begin
84
- res = String.new
+ res = +''
85
m = nil
86
@@input.raw do |stdin|
87
@@output << "\e[6n"
0 commit comments