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:
parent
8226c33bb5
commit
3b5923bca3
1 changed files with 1 additions and 2 deletions
|
@ -721,9 +721,8 @@ class Reline::LineEditor
|
||||||
else
|
else
|
||||||
@output.write ' ' * @block_elem_width
|
@output.write ' ' * @block_elem_width
|
||||||
end
|
end
|
||||||
@output.write "\e[39m"
|
|
||||||
end
|
end
|
||||||
@output.write "\e[49m"
|
@output.write "\e[0m"
|
||||||
Reline::IOGate.move_cursor_column(dialog.column)
|
Reline::IOGate.move_cursor_column(dialog.column)
|
||||||
move_cursor_down(1) if i < (dialog.contents.size - 1)
|
move_cursor_down(1) if i < (dialog.contents.size - 1)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue