tmux-plugins / tmux-sensible

basic tmux settings everyone can agree on
MIT License
1.68k stars 88 forks source link

tmux-sensible does not honor default-terminal #50

Open hholst80 opened 5 years ago

hholst80 commented 5 years ago

Repro:

$ tmux
$ echo $TERM
screen
$ tmux -V
tmux 2.8
$ tmux show-option -sv default-terminal
screen
$ grep default ~/.tmux.conf
$
$ tmux set-option -s default-terminal screen-256color
$ tmux show-option -sv default-terminal
screen-256color
$

Not sure how to fix this in an easy way.

bepoli commented 5 years ago

Happens to me as well. I want to add that new windows have the correct $TERM variable, so only the first window of the session is affected.

edgauthier commented 4 years ago

Happens to me as well.

Adding set -g default-terminal "screen-256color" earlier in my .tmux.conf file seems to fix it for the first pane.