commit 1a91e2158325b40552a173b7d577642b7827a546
parent d82c5096ea11454ffae74256fb5d8f0a13d52f48
Author: Chris Bracken <chris@bracken.jp>
Date: Sun, 29 Jun 2025 09:59:47 -0700
tmux: fix comment about 256 vs 24-bit colour
RGB is 24-bit "true colour" not 256 colour.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf
@@ -3,8 +3,8 @@
# Reduce escape time from 500 to 10ms for better behaviour in vim.
set-option -sg escape-time 10
-# 256 colour terminal, underscore, undercurl.
-set-option -as terminal-features ',xterm-256color:RGB' # 256 colour.
+# 24-bit colour terminal, underscore, undercurl.
+set-option -as terminal-features ',xterm-256color:RGB' # 24-bit colour.
set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm' # undercurl.
set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' # underscore colours - needs tmux-3.0