diff --git a/tmux.conf b/tmux.conf index b2ecc6f..d7c81bb 100644 --- a/tmux.conf +++ b/tmux.conf @@ -27,6 +27,11 @@ set -g status-interval 2 # Upgrade $TERM 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 set -g focus-events on