We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2234b68 commit ac5c23bCopy full SHA for ac5c23b
1 file changed
crates/anstyle-svg/src/adapter.rs
@@ -138,10 +138,6 @@ impl anstyle_parse::Perform for AnsiCapture {
138
style = style.underline();
139
state = CsiState::Underline;
140
}
141
- (CsiState::Normal, 21) => {
142
- style |= anstyle::Effects::DOUBLE_UNDERLINE;
143
- break;
144
- }
145
(CsiState::Normal, 7) => {
146
style = style.invert();
147
break;
@@ -154,6 +150,10 @@ impl anstyle_parse::Perform for AnsiCapture {
154
150
style = style.strikethrough();
155
151
156
152
153
+ (CsiState::Normal, 21) => {
+ style |= anstyle::Effects::DOUBLE_UNDERLINE;
+ break;
+ }
157
(CsiState::Normal, 30..=37) => {
158
let color = to_ansi_color(value - 30).expect("within 4-bit range");
159
style = style.fg_color(Some(color.into()));
0 commit comments