aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--_tmux.conf6
1 files 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"