diff options
| author | Kyren223 <ulmliad223@gmail.com> | 2024-07-14 11:08:17 +0300 |
|---|---|---|
| committer | Kyren223 <ulmliad223@gmail.com> | 2024-07-14 11:08:17 +0300 |
| commit | cfd1714bf0dd604324f00dd84892521ead50eade (patch) | |
| tree | f6ce28475e700f1f45db91ddb214d4ec7a827c08 | |
| parent | 01b75ee53b38b5778afe300f913eab96e6dcbe4b (diff) | |
Tmux: fixed terminal color/bold/undercurl etc issues
| -rw-r--r-- | .config/tmux/tmux.conf | 7 |
1 files changed, 5 insertions, 2 deletions
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 |
