add reset sequences

This commit is contained in:
Jorge Morante 2023-05-12 15:19:54 +02:00
parent d40fa850c1
commit 0000dd1bf7
1 changed files with 2 additions and 2 deletions

View File

@ -51,8 +51,8 @@ module Fingers
private def format_offset(selected, hint, highlight)
chopped_highlight = chop_highlight(hint, highlight)
hint_pair = (selected ? selected_hint_format : hint_format) + hint
highlight_pair = (selected ? selected_highlight_format : highlight_format) + chopped_highlight
hint_pair = (selected ? selected_hint_format : hint_format) + hint + reset_sequence
highlight_pair = (selected ? selected_highlight_format : highlight_format) + chopped_highlight + reset_sequence
if hint_position == "right"
highlight_pair + hint_pair + reset_sequence