@@ -118,6 +118,15 @@ impl<'var> Pair<'var> {
118
118
"35" => style = style. fg ( Purple ) ,
119
119
"36" => style = style. fg ( Cyan ) ,
120
120
"37" => style = style. fg ( White ) ,
121
+ // Bright foreground colours
122
+ "90" => style = style. fg ( DarkGray ) ,
123
+ "91" => style = style. fg ( BrightRed ) ,
124
+ "92" => style = style. fg ( BrightGreen ) ,
125
+ "93" => style = style. fg ( BrightYellow ) ,
126
+ "94" => style = style. fg ( BrightBlue ) ,
127
+ "95" => style = style. fg ( BrightPurple ) ,
128
+ "96" => style = style. fg ( BrightCyan ) ,
129
+ "97" => style = style. fg ( BrightGray ) ,
121
130
"38" => if let Some ( c) = parse_into_high_colour ( & mut iter) { style = style. fg ( c) } ,
122
131
123
132
// Background colours
@@ -129,8 +138,16 @@ impl<'var> Pair<'var> {
129
138
"45" => style = style. on ( Purple ) ,
130
139
"46" => style = style. on ( Cyan ) ,
131
140
"47" => style = style. on ( White ) ,
141
+ // Bright background colours
142
+ "100" => style = style. on ( DarkGray ) ,
143
+ "101" => style = style. on ( BrightRed ) ,
144
+ "102" => style = style. on ( BrightGreen ) ,
145
+ "103" => style = style. on ( BrightYellow ) ,
146
+ "104" => style = style. on ( BrightBlue ) ,
147
+ "105" => style = style. on ( BrightPurple ) ,
148
+ "106" => style = style. on ( BrightCyan ) ,
149
+ "107" => style = style. on ( BrightGray ) ,
132
150
"48" => if let Some ( c) = parse_into_high_colour ( & mut iter) { style = style. on ( c) } ,
133
-
134
151
_ => { /* ignore the error and do nothing */ } ,
135
152
}
136
153
}
0 commit comments