Closed mkgessen closed 18 hours ago
Trigger tmux escaping in case where TERM environment variable equals screen, tmux or tmux-256color.
TERM
screen
tmux
tmux-256color
Rationale: The current implementation supports tmux, but expects $TERM to be set to screen. Per tmux man page, $TERM can also be set to tmux.
$TERM
The TERM environment variable must be set to screen or tmux for all programs running inside tmux. https://man7.org/linux/man-pages/man1/tmux.1.html
It also seems that depending on the installed terminfo database (depends on ncurses version?), $TERM can be set to tmux-256color.
https://invisible-island.net/ncurses/terminfo.src-entries.html#tic-tmux-256color
I've checked that at least the following configurations report $TERM tmux-256color.
Trigger tmux escaping in case where
TERM
environment variable equalsscreen
,tmux
ortmux-256color
.Rationale: The current implementation supports tmux, but expects
$TERM
to be set toscreen
. Per tmux man page,$TERM
can also be set totmux
.It also seems that depending on the installed terminfo database (depends on ncurses version?),
$TERM
can be set totmux-256color
.https://invisible-island.net/ncurses/terminfo.src-entries.html#tic-tmux-256color
I've checked that at least the following configurations report $TERM
tmux-256color
.