fix(backend): Add missing color pattern

This commit is contained in:
Florian Dehau 2018-06-09 11:41:21 +02:00
parent c552ae98b4
commit 9a9f49f467

View file

@ -85,6 +85,7 @@ impl Into<rustbox::Color> for Color {
Color::Magenta | Color::LightMagenta => rustbox::Color::Magenta,
Color::Cyan | Color::LightCyan => rustbox::Color::Cyan,
Color::White => rustbox::Color::White,
Color::Blue | Color::LightBlue => rustbox::Color::Blue,
Color::Rgb(r, g, b) => rustbox::Color::Byte(rgb_to_byte(r, g, b)),
}
}