From c0c0d94a154c99eeeb75dc0c474109af08e49251 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sun, 3 Sep 2017 20:34:37 +0800 Subject: tmux.conf: Change TERM from tmux-256color to screen-256color --- _tmux.conf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/_tmux.conf b/_tmux.conf index f77ea08..bf95c55 100644 --- a/_tmux.conf +++ b/_tmux.conf @@ -77,8 +77,10 @@ set -g mouse on unbind -n MouseDrag1Pane unbind -T copy-mode MouseDrag1Pane -# Change the default $TERM to tmux-256color -set -g default-terminal "tmux-256color" +# Change the default $TERM to screen-256color +# * xterm-256color for tmux may have problem with special keys in zsh +# * tmux-256color may not be recognized, e.g., DragonFlyBSD +set -g default-terminal "screen-256color" # Enable RGB colour if running in xterm(1) set -sa terminal-overrides ",xterm*:Tc" -- cgit v1.2.2