Open Nemo157 opened 1 year ago
Yes, please add support for Reset
as it currently does not work: https://docs.rs/crossterm/latest/crossterm/style/enum.Color.html#variant.Reset
/kind enhancement
Fixing above would likely be the easiest way to fix this from what I see, as this just uses the deserialization. Otherwise a workaround is needed.
crossterm::style::Color
only supports the 8-bit ansi color codes, there is no way to make it emit code39
which uses the default foreground color (which can be distinct from the normal and bright variants of bothwhite
andblack
).As a workaround, adding support for parsing a string like
reset
toColor::Reset
should give a similar result.