From 9ebc45616e104b73f2deab0f7b0f9e12a168b581 Mon Sep 17 00:00:00 2001 From: Toby Vincent Date: Fri, 15 Jul 2022 12:18:26 -0500 Subject: feat(tmux): attempt to get undercurls working in alacritty/tmux --- tmux/.config/tmux/tmux.conf | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/tmux/.config/tmux/tmux.conf b/tmux/.config/tmux/tmux.conf index eb63cf9..b15fdde 100644 --- a/tmux/.config/tmux/tmux.conf +++ b/tmux/.config/tmux/tmux.conf @@ -1,16 +1,13 @@ # TODO: Figure out how to get undercurls working on windows (works on linux) -# set -g default-terminal 'alacritty' -# set -as terminal-overrides ',*:Tc' -set -g default-terminal "tmux-256color" -set -g escape-time 50 -set -ga terminal-overrides ",alacritty:Tc" +# support 256 color +set -g default-terminal 'alacritty' +set -as terminal-overrides ',*:Tc' -# undercurls not needed -# set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm' # undercurl support -# 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 -set -ga terminal-overrides ',*:Smulx=\E[4::%p1%dm' # undercurl support -set -ga terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' # underscore colours - needs tmux-3.0 +# undercurl / colored underline support +set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm' +set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' +set -g escape-time 50 set -g mouse on set -g prefix C-a -- cgit v1.2.3-70-g09d2