If you use different sessions for console and X, set default-terminal
differently for each (use set-option without -g).
If you use the same session you will need to pick one (screen or
screen-256color) and live with it, or change it when you attach.
On Sun, Mar 29, 2015 at 11:52:06AM +0200, Eli
* Elimar Riesebieter [2015-03-29 10:20 +0200]:
> Hi all,
>
> how do I manage to run tmux on screen-256color in urxvt|xterm
> and on screen in a vt aka tty ($TERM=linux)?
>
> set-option -g default-terminal screen-256color
> is set but this isn't usefull on a tty while i.e. vim is used to run
> f