ruby-changes:68095
From: aycabta <ko1@a...>
Date: Thu, 23 Sep 2021 23:42:09 +0900 (JST)
Subject: [ruby-changes:68095] 3b5923bca3 (master): [ruby/reline] Reset all font settings at left end of dialog
https://git.ruby-lang.org/ruby.git/commit/?id=3b5923bca3 From 3b5923bca3f6cdaddda59c4b52fed1706dd727e9 Mon Sep 17 00:00:00 2001 From: aycabta <aycabta@g...> Date: Thu, 23 Sep 2021 23:41:45 +0900 Subject: [ruby/reline] Reset all font settings at left end of dialog https://github.com/ruby/reline/commit/5f293b5127 --- lib/reline/line_editor.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/reline/line_editor.rb b/lib/reline/line_editor.rb index da8787a..43598b9 100644 --- a/lib/reline/line_editor.rb +++ b/lib/reline/line_editor.rb @@ -721,9 +721,8 @@ class Reline::LineEditor https://github.com/ruby/ruby/blob/trunk/lib/reline/line_editor.rb#L721 else @output.write ' ' * @block_elem_width end - @output.write "\e[39m" end - @output.write "\e[49m" + @output.write "\e[0m" Reline::IOGate.move_cursor_column(dialog.column) move_cursor_down(1) if i < (dialog.contents.size - 1) end -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/