make tmux advertise underline styling support

This commit is contained in:
tastytea 2022-10-21 19:48:20 +02:00
parent c66a80ddd0
commit cc7edbe7cc
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM

View File

@ -20,10 +20,14 @@ set -g default-command "exec /bin/zsh"
set -ga terminal-overrides ",xterm*:RGB:Tc,rxvt-unicode*:RGB:Tc"
%if '#{>=:#{version},3.2}'
#set -sa terminal-features ",alacritty*:RGB"
set -sa terminal-overrides ",alacritty*:RGB"
set -ga terminal-overrides ",alacritty*:RGB"
%else
set -ga terminal-overrides ",alacritty*:Tc"
%endif
# underline style (different colour)
set-option -ga terminal-features ",alacritty:usstyle"
set -g default-terminal "tmux-256color"
# Make M-<up> and so on work in Emacs.