From cfd1714bf0dd604324f00dd84892521ead50eade Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Sun, 14 Jul 2024 11:08:17 +0300 Subject: Tmux: fixed terminal color/bold/undercurl etc issues --- .config/tmux/tmux.conf | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to '.config/tmux') diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 2794f81..221a4e7 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -1,5 +1,8 @@ -# Fix colors -set-option -sa terminal-features "xterm-256color:RGB" +# Fix colors, undercurl etc, this way pain to figure out +set -g default-terminal "xterm-256color" +set-option -as terminal-overrides ",xterm-256color:Tc" +set -as terminal-overrides ',*:Setulc=\E[58::2::::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' +set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm' # Lua-style indexing set -g base-index 1 -- cgit v1.3.1