diff --git a/lib/reline/face.rb b/lib/reline/face.rb index 28ef7bcdcb..7dc140926b 100644 --- a/lib/reline/face.rb +++ b/lib/reline/face.rb @@ -84,7 +84,7 @@ def sgr_rgb(key, value) end def format_to_sgr(values) - "\e[" << values.map do |key, value| + "\e[" + values.map do |key, value| case key when :foreground, :background case value @@ -101,7 +101,7 @@ def format_to_sgr(values) end rendition_expression end - end.join(';') << "m" + end.join(';') + "m" end def rgb_expression?(color)