crossterm::style::Color only supports the 8-bit ansi color codes, there is no way to make it emit code 39 which uses the default foreground color (which can be distinct from the normal and bright variants of both white and black).
As a workaround, adding support for parsing a string like reset to Color::Reset should give a similar result.
crossterm::style::Coloronly supports the 8-bit ansi color codes, there is no way to make it emit code39which uses the default foreground color (which can be distinct from the normal and bright variants of bothwhiteandblack).As a workaround, adding support for parsing a string like
resettoColor::Resetshould give a similar result.