2 ms·
That is the wrong thing to do. The correct terminal type for tmux is either "tmux" or "tmux-256color". Even "screen" and "screen-256color" are not perfectly c
by JdeBP 7y ago
That is the wrong thing to do. The correct terminal type for tmux is either "tmux" or "tmux-256color".
Even "screen" and "screen-256color" are not perfectly correct descriptions of tmux nowadays (italics actually being a case in point); and there is no problem with importing a "tmux-256color" entry into a more-than-half-a-decade-old terminfo database. The database structure lends itself both to copying individual records and to having extra records in one's home directory.
You should not be using "xterm-" anything with tmux, or with any terminal or terminal emulator that is not actually XTerm. Indeed, this mis-use is called out right at the top of the tmux FAQ.
* http://jdebp.uk./Softwares/nosh/guide/commands/TERM.xml#MIS-CONFIGURATION http://jdebp.uk./Softwares/nosh/guide/commands/TERM.xml#MIS-...
* https://invisible-island.net/xterm/xterm.faq.html#other_versions https://invisible-island.net/xterm/xterm.faq.html#other_vers...
* https://github.com/tmux/tmux/wiki/FAQ https://github.com/tmux/tmux/wiki/FAQ