1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-09 22:15:15 +03:00

cargo fmt

This commit is contained in:
Wez Furlong 2021-05-11 19:19:55 -07:00
parent 3c6fb77879
commit d246ef4cdc
2 changed files with 6 additions and 7 deletions

View File

@ -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)))
}

View File

@ -531,7 +531,6 @@ mod test {
],
actions
);
}
#[test]