4 ms·
>"shamelessly re-uses it and claims to be “screen-256color” Could you elaborate on this? Tmux uses the screen terminfo entry? Is it not actually 256?
by bogomipz 9y ago
>"shamelessly re-uses it and claims to be “screen-256color”
Could you elaborate on this? Tmux uses the screen terminfo entry? Is it not actually 256?
- teddyh 9y agoIf I set my terminal type to something basic like vt102, and then start "tmux" and run "echo $TERM", I get "screen-256color". Also, the tmux(1) manual states: The TERM environment variable must be set to “screen” for all programs running inside tmux. New windows will automatically have “TERM=screen” added to their environment, but care must be taken not to reset this in shell start-up files. So, yes, Tmux uses the GNU screen terminfo entry.