Enable TrueColor support

This commit is contained in:
Kenneth Benzie 2024-03-02 10:53:51 +00:00
parent a84ede4494
commit cd9e6742f4

View File

@ -27,6 +27,11 @@ set -g status-interval 2
# Upgrade $TERM # Upgrade $TERM
set -g default-terminal "tmux-256color" set -g default-terminal "tmux-256color"
# Enable true-color
if '[[ "$TMUX_VERSION" < "3.2" ]]' \
'set-option -as terminal-features ",xterm*:Tc"' \
'set-option -as terminal-features ",xterm*:RGB"'
# Focus events enabled for terminals that support them # Focus events enabled for terminals that support them
set -g focus-events on set -g focus-events on