Skip to content
This repository has been archived by the owner on Nov 29, 2022. It is now read-only.

Releases: hSaria/ChromaTerm

ChromaTerm v0.9.1

13 Jan 04:47
Compare
Choose a tag to compare
  • #96 - Fixed an issue where ChromaTerm would highlight ANSI control strings when it shouldn't.
  • Added support for named group referencing in the colors of a rule.
  • Added a new default rule for URLs.
  • Minor cleanup.

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

ChromaTerm v0.9.0

28 Dec 01:56
Compare
Choose a tag to compare
  • Added color palettes that allow you to create the colors in advance and reference them by name later. This should help you create a consistent coloring scheme. And if you ever grow tired your current palette, change it; any rules that reference palette colors will be updated. There are lots of websites that help you generate color palettes, if you're looking for inspiration.
  • Updated the default rules to make use of color palettes and verbose regex for long rules.
  • Updated the colors of contrib/rules to better fit the colors of the default rules.
  • Improved responsiveness and highlighting accuracy when ChromaTerm spawns the program, like ct ssh host.
  • Minor cleanup and optimization (about 10% better performance).

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

ChromaTerm v0.8.4

24 Dec 20:04
Compare
Choose a tag to compare
  • Improved detection of keyboard typing on certain shells that caused unintentional highlighting (zsh sometimes adds special characters which confused ChromaTerm's detection).
  • Improved handling of OSC codes on slow connections.
  • Added a new default rule for sizes, like 129KB or 1000 mbps.
  • Updated the date default rule to include MMM DD YYYY format.
  • Fixed incorrect RGB-to-xterm-256 conversion that resulted in colors that didn't closely represent their RGB equivalent. This only affected terminals that don't support RGB colors.

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

ChromaTerm v0.8.3

20 Dec 03:01
Compare
Choose a tag to compare
  • Improved the handling of ANSI's Operating System Command (OSC, primarily used to set the title of a window) when it included extended characters, like Emojis or non-English characters. Thanks to @ciscohack for reporting this issue.
  • Minor cleanup to the default rules. Namely, the IPv4 and IPv6 rules have been improved to match output from tcpdump more accurately.

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

ChromaTerm v0.8.2

16 Dec 04:00
Compare
Choose a tag to compare
  • #95 - Existing colors in the input data are now overridden by ChromaTerm.
  • Added rule match count to the benchmark results (i.e. when using the --benchmark flag).

Upgrade with pip3 install -U chromaterm

ChromaTerm v0.8.1

15 Oct 09:09
Compare
Choose a tag to compare
  • 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

ChromaTerm v0.8.0

17 Sep 13:04
Compare
Choose a tag to compare
  • Fixed a regression from v0.7.6 with the regular expressions of the default config. This only affected new installations (i.e. ones that didn't have an existing config file).
  • Minimum Python version bumped to v3.6.0.

Upgrade with pip3 install -U chromaterm

ChromaTerm v0.7.6

14 Sep 11:01
Compare
Choose a tag to compare
  • Improved handling of multi-byte characters, like Emojis or non-English characters. You might've seen when running ct curl wttr.in; well, this fixes that.
  • Minor code cleanup and performance improvements.

Upgrade with pip3 install -U chromaterm

ChromaTerm v0.7.5

10 Sep 09:57
Compare
Choose a tag to compare
  • #94 - Some terminal emulators set the window title based on the cwd of the running program. ChromaTerm now updates its own cwd to match that of the child process. Thanks @LouisDuVerdier for raising the issue and working with me on it.

Upgrade with pip3 install -U chromaterm

ChromaTerm v0.7.4

08 Sep 06:44
Compare
Choose a tag to compare
  • Improved highlighting accuracy on slow input (i.e. remote connections or commands with significant latency). Thanks to @ciscohack for helping with this.
  • Minor code cleanup.

Upgrade with pip3 install -U chromaterm