diff options
-rw-r--r-- | _tmux.conf | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 |