Output is unreadable if the terminal uses black text on white background
RalfJung opened this issue · 3 comments
RalfJung commented
ZymoticB commented
https://github.com/dtolnay/cargo-expand?tab=readme-ov-file#configuration
You can use a different theme, there are some suggestions for light backgrounds in the upstream readme https://github.com/sharkdp/bat?tab=readme-ov-file#highlighting-theme
RalfJung commented
Seems not great to require users to do manual configuration to be able to read anything. I have not yet encountered this with any other application. (Some, e.g. aptitude, just overwrite all colors so they are still white-on-black despite by black-on-white terminal theme. But that's fine, the application at least remains usable.)
maciek134 commented
Can't the default theme be set to use 4bit colors to avoid overriding the terminal color scheme?