diff options
author | Klemens Nanni | 2021-05-23 17:26:19 +0000 |
---|---|---|
committer | C. McEnroe | 2021-05-25 16:11:31 -0400 |
commit | 868c604a5548b19cb1678f686172978e3ba52b1a (patch) | |
tree | 761d5dcdded4ad653d7e414e3d1f60b2f405c64e /buffer.c | |
parent | f9a36441e0527fab625e41233b0a3f7be3099b5a (diff) |
Use reverse video not colors for topic change when disabled
`-H 0,0`/"hash = 0,0" makes catgirl mostly colorless which is great, but topic changes still hardcode brown/green colors to show differences which is usually not desired by users (like me) disabling colors. Go for a less eye stressing topic change message that shows both old and new in reverse video with default terminal colors. This isn't perfect, other parts of catgirl still hardcode colors and `-H 0,0`/"hash = 0,0" was never meant to disable colors completely, but topics change often enough that avoiding less readable^Waccessible topic diffs seems sensible enough. NB: parseHash() is brittle and "0,0" is not the only value disabling colors...
Diffstat (limited to 'buffer.c')
0 files changed, 0 insertions, 0 deletions