summaryrefslogtreecommitdiff
path: root/tmux.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tmux.conf')
-rw-r--r--tmux.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/tmux.conf b/tmux.conf
index 98127fa..989a487 100644
--- a/tmux.conf
+++ b/tmux.conf
@@ -1,4 +1,7 @@
# set -g default-terminal "screen-256color"
+set -g default-terminal screen
+if "[[ ${TERM} =~ 256color || ${TERM} == fbterm ]]" 'set -g default-terminal screen-256color'
+
set -g mode-mouse on
set -g mouse-resize-pane on
set -g mouse-select-pane on