diff options
author | aycabta <aycabta@gmail.com> | 2021-09-23 23:41:45 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2021-09-23 23:41:55 +0900 |
commit | 3b5923bca3f6cdaddda59c4b52fed1706dd727e9 (patch) | |
tree | f454e320c3eeacb2a2d5626832855d970544a7b0 /lib/reline/line_editor.rb | |
parent | 8226c33bb510cbe26ec286099812126e938d236d (diff) | |
download | ruby-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.rb | 3 |
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 |