This repository has been archived by the owner on Nov 29, 2022. It is now read-only.
ChromaTerm v0.8.1
- Added
invert
style. - Added
exclusive
flag to highlight rules that prevents multiple rules from matching the same text. - Added
--benchmark
option that prints how much time each rule spent while matching text. - Improved the default highlight rules and added a new one for numbers.
- Fixed exit cleanup code not running when ChromaTerm exits after
stdout
pipe is closed (e.g.ct cat file.txt | head
).
To regenerate the default rules, rename your config file (if you don't have any custom rules, you can just delete it), then run ChromaTerm. This process is manual to ensure that you are aware of any changes to your config file.
Upgrade with
pip3 install -U chromaterm