1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/reline] Reset all font settings at left end of dialog

https://github.com/ruby/reline/commit/5f293b5127
This commit is contained in:
aycabta 2021-09-23 23:41:45 +09:00 committed by git
parent 8226c33bb5
commit 3b5923bca3

View file

@ -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