[0.4.1] - 2025-12-01
Fixed
-
Config file
color_modesetting ignored - Thecolor_modesetting inconfig.tomlis now properly respected (#5)- Priority order: CLI flags > config file > auto-detection
- Set
color_mode = "rgb"orcolor_mode = "256"in config to override auto-detection color_mode = "auto"(default) uses improved auto-detection
-
RGB auto-detection fails for truecolor terminals - Improved terminal color detection for Kitty, Alacritty, WezTerm, and other RGB-capable terminals (#5)
- Now checks
COLORTERMenvironment variable fortruecoloror24bit(primary standard per termstandard/colors) - Checks
TERMfor known truecolor terminals (kitty,alacritty,wezterm) and suffixes (-truecolor,-direct) - Checks
TERM_PROGRAMfor known apps (iTerm, Kitty, VS Code, Hyper, etc.) - Falls back to
supports_colorcrate detection
- Now checks
Technical
-
Enhanced color detection (
src/tui/terminal_compat.rs)- New
detect_truecolor_support()method with multi-method detection - Environment variable checks before crate-based detection
- Better compatibility with terminals that set
COLORTERM=truecolor
- New
-
Config priority in main (
src/main.rs)- Color mode selection now checks config file before auto-detection
- Clear priority: CLI args (highest) > config file > auto-detection (lowest)
Acknowledgements
- Special thanks to https://github.com/jinks908 for identifying and opening #5
Full Changelog: v0.4.0...v0.4.1