diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-10-14 00:09:53 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-10-14 00:09:53 +0200 |
commit | 74e82ab9e56dd517cbac62002637c1936cad46ad (patch) | |
tree | dcd1856a1cb195c149d2ed13565bb83a0929dc4b | |
parent | ef3479ee26ee40c4173e02e018487d1aea18d966 (diff) |
Add support for undercurl in tmux
-rw-r--r-- | .config/tmux/tmux.conf | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index b032a3f..fb4f881 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -7,8 +7,11 @@ unbind-key C-b bind-key C-a send-prefix # Allows vim to display colors correctly. -set -g default-terminal 'screen-256color' +set -g default-terminal "${TERM}" set -ga terminal-overrides ',*256col*:Tc' +# Undercurl +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 # Status line set -g status on |