From 9006378c24a1cd2e90c5a094aaabf7dc66b38a18 Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Fri, 11 Mar 2022 18:43:02 +0530 Subject: [PATCH] tmux: Fix terminal settings The only reasonable value for default-terminal is tmux-256color or screen-256color. It's the terminfo entry used for tmux itself, not the outer terminal. Also set the overrides for foot. https://codeberg.org/dnkl/foot/issues/348 The trucolor support can be checked as per https://jdhao.github.io/2018/10/19/tmux_nvim_true_color --- tmux/.tmux.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index fb01e16..302d0dc 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -88,9 +88,9 @@ bind -T copy-mode-vi r send-keys -X rectangle-toggle bind S command-prompt -p 'Save history to filename:' -I '/tmp/tmux.history' 'capture-pane -S - -E -; save-buffer %1 ; delete-buffer' -# foot as default terminal. This effects color rendering and typing on -# terminal. -set-option -g default-terminal "foot" +# This effects color rendering and typing on terminal. +set-option -g default-terminal "tmux-256color" +set-option -ga terminal-overrides ",foot:Tc" # Gruvbox dark color scheme set-option -g status "on"