From cd9e6742f4a256277088672423c743c77e0affd5 Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Sat, 2 Mar 2024 10:53:51 +0000 Subject: [PATCH] Enable TrueColor support --- tmux.conf | 5 +++++ 1 file changed, 5 insertions(+) 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