mirror of
https://github.com/wez/wezterm.git
synced 2024-11-09 22:15:15 +03:00
cargo fmt
This commit is contained in:
parent
3c6fb77879
commit
d246ef4cdc
@ -2099,9 +2099,9 @@ impl<'a> CSIParser<'a> {
|
||||
&[Some(38), Some(2), _colorspace, Some(r), Some(g), Some(b)] => one!(
|
||||
Sgr::Foreground(RgbColor::new(r as u8, g as u8, b as u8).into())
|
||||
),
|
||||
&[Some(38), Some(2), Some(r), Some(g), Some(b)] => one!(
|
||||
Sgr::Foreground(RgbColor::new(r as u8, g as u8, b as u8).into())
|
||||
),
|
||||
&[Some(38), Some(2), Some(r), Some(g), Some(b)] => one!(Sgr::Foreground(
|
||||
RgbColor::new(r as u8, g as u8, b as u8).into()
|
||||
)),
|
||||
&[Some(38), Some(5), Some(idx)] => {
|
||||
one!(Sgr::Foreground(ColorSpec::PaletteIndex(idx as u8)))
|
||||
}
|
||||
@ -2109,9 +2109,9 @@ impl<'a> CSIParser<'a> {
|
||||
&[Some(48), Some(2), _colorspace, Some(r), Some(g), Some(b)] => one!(
|
||||
Sgr::Background(RgbColor::new(r as u8, g as u8, b as u8).into())
|
||||
),
|
||||
&[Some(48), Some(2), Some(r), Some(g), Some(b)] => one!(
|
||||
Sgr::Background(RgbColor::new(r as u8, g as u8, b as u8).into())
|
||||
),
|
||||
&[Some(48), Some(2), Some(r), Some(g), Some(b)] => one!(Sgr::Background(
|
||||
RgbColor::new(r as u8, g as u8, b as u8).into()
|
||||
)),
|
||||
&[Some(48), Some(5), Some(idx)] => {
|
||||
one!(Sgr::Background(ColorSpec::PaletteIndex(idx as u8)))
|
||||
}
|
||||
|
@ -531,7 +531,6 @@ mod test {
|
||||
],
|
||||
actions
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
Loading…
Reference in New Issue
Block a user