Getting 256 colors to work with byobu

byobu

When I launch byobu, this always happens:

$ echo $TERM
screen

even if $TERM evaluates to xterm-256color outside of byobu.

How can I fix this?

Best Answer

Just set the default-terminal in profile.tmux:

$ echo 'set -g default-terminal "screen-256color"' >> ~/.byobu/profile.tmux
Related Question