- Restore real ZDOTDIR early in zsh startup so HISTFILE uses user history\n- Preserve user ZDOTDIR without treating Ghostty injected ZDOTDIR as user\n- Add regression tests and terminfo overlay for bright colors |
||
|---|---|---|
| .. | ||
| 67 | ||
| 78 | ||
| README.md | ||
cmuxterm terminfo overlay
cmuxterm ships Ghostty's xterm-ghostty terminfo entry, but the embedded
renderer in cmuxterm has differed from Ghostty's app renderer in how it treats
the "bright" SGR 90-97/100-107 sequences.
This overlay patches the terminfo capabilities so that tput setaf 8 (and
similar "bright" colors) uses 256-color indexed sequences (38;5;<n>m /
48;5;<n>m) rather than SGR 90-97/100-107. This avoids relying on bright SGR
handling and fixes zsh-autosuggestions (default fg=8) visibility issues in
cmuxterm.
The build phase Copy Ghostty Resources overlays this directory onto the app
bundle's Contents/Resources/terminfo after copying Ghostty's resources.