aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--_tmux.conf8
1 files changed, 7 insertions, 1 deletions
diff --git a/_tmux.conf b/_tmux.conf
index 3762fe5..33dff6c 100644
--- a/_tmux.conf
+++ b/_tmux.conf
@@ -3,7 +3,7 @@
##
## Aaron LI
## Created: 2015-01-22
-## Updated: 2016-05-01
+## Updated: 2016-05-29
##
## References:
## [1] tmux: Productive Mouse-Free Development (by Brian P. Hogan)
@@ -65,6 +65,12 @@ bind -r L resize-pane -R 5
## Set the default terminal mode
set-option -g default-terminal "screen-256color"
+## Terminal settings
+# Override terminal's default Cr (color reset) to avoid the strange
+# 'char+112' when just exited the tmux session.
+# Credit: https://github.com/tmux/tmux/issues/266
+set-option -g terminal-overrides ',xterm*:Cr=\E]12;gray\007'
+
## Enable activity alerts
set-window-option -g monitor-activity on
set-option -g visual-activity on