Skip to content

Commit

Permalink
Reset all font settings at left end of dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
aycabta committed Sep 23, 2021
1 parent f84afd9 commit 5f293b5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/reline/line_editor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -721,9 +721,8 @@ def add_dialog_proc(name, p, context = nil)
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
Expand Down

0 comments on commit 5f293b5

Please sign in to comment.