From 3b5923bca3f6cdaddda59c4b52fed1706dd727e9 Mon Sep 17 00:00:00 2001 From: aycabta Date: Thu, 23 Sep 2021 23:41:45 +0900 Subject: [PATCH] [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 da8787af49..43598b90b8 100644 --- a/lib/reline/line_editor.rb +++ b/lib/reline/line_editor.rb @@ -721,9 +721,8 @@ class Reline::LineEditor 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