fix(terminal): curly underlines mid-chunk (#3125)

This commit is contained in:
Aram Drevekenin 2024-02-12 09:25:24 +01:00 committed by GitHub
parent 7dddaaccd1
commit 06c16bb6d8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -375,7 +375,7 @@ impl CharacterStyles {
} }
// apply new styles // apply new styles
*self = *new_styles; *self = new_styles.enable_styled_underlines(self.styled_underlines_enabled);
if let Some(changed_colors) = changed_colors { if let Some(changed_colors) = changed_colors {
if let Some(AnsiCode::ColorIndex(color_index)) = diff.foreground { if let Some(AnsiCode::ColorIndex(color_index)) = diff.foreground {