mirror of
https://github.com/ratatui-org/ratatui
synced 2024-11-23 05:03:13 +00:00
fix(backend): Add missing color pattern
This commit is contained in:
parent
c552ae98b4
commit
9a9f49f467
1 changed files with 1 additions and 0 deletions
|
@ -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)),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue