From f6b1e7912e6fb09238a16c788bff7b35433bb104 Mon Sep 17 00:00:00 2001 From: Daniel Weber Date: Thu, 18 Jul 2024 09:11:00 -0400 Subject: [PATCH] Fixing underline coloring inside of tmux --- tmux/.config/tmux/tmux.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tmux/.config/tmux/tmux.conf b/tmux/.config/tmux/tmux.conf index 3c6323a..818f8b3 100644 --- a/tmux/.config/tmux/tmux.conf +++ b/tmux/.config/tmux/tmux.conf @@ -6,7 +6,11 @@ set -g @plugin '2kabhishek/tmux2k' set -g @tmux2k-theme 'default icons' -set -ga terminal-overrides ",xterm-256color:Tc" +set -g default-terminal 'tmux-256color' +# undercurl support +set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm' +# support colors for undercurl +set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' set-option -g mouse on