lsd icon indicating copy to clipboard operation
lsd copied to clipboard

No way to set a theme color to the default foreground color

Open Nemo157 opened this issue 11 months ago • 3 comments

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.

Nemo157 avatar Sep 07 '23 11:09 Nemo157