|
"${TERM}" and "${SHELL}" expand from the tmux server's environment when the
server starts, not from the attaching client. A server started without TERM
set (systemd unit, ssh -T, a script) leaves default-terminal empty, so every
pane gets an empty TERM and curses programs like top fail, both locally and
over ssh.
default-terminal should also describe what tmux emulates rather than the outer
terminal, so use tmux-256color and declare RGB support via terminal-features
instead of the legacy Tc override.
|