aboutsummaryrefslogtreecommitdiffstats
path: root/lib/reline/line_editor.rb
diff options
context:
space:
mode:
authoraycabta <aycabta@gmail.com>2021-09-23 23:41:45 +0900
committergit <svn-admin@ruby-lang.org>2021-09-23 23:41:55 +0900
commit3b5923bca3f6cdaddda59c4b52fed1706dd727e9 (patch)
treef454e320c3eeacb2a2d5626832855d970544a7b0 /lib/reline/line_editor.rb
parent8226c33bb510cbe26ec286099812126e938d236d (diff)
downloadruby-3b5923bca3f6cdaddda59c4b52fed1706dd727e9.tar.gz
[ruby/reline] Reset all font settings at left end of dialog
https://github.com/ruby/reline/commit/5f293b5127
Diffstat (limited to 'lib/reline/line_editor.rb')
-rw-r--r--lib/reline/line_editor.rb3
1 files changed, 1 insertions, 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