On Sun, May 13, 2018 at 10:33:40AM -0400, Thomas Dickey wrote: > I didn't see anything that I could use in ncurses: > > Unlike "screen", which provides a way to relate the inner/outer terminal > descriptions (such as having "screen.xterm-new", to relate to > "xterm-new"), "tmux" doesn't appear to have a comparable approach which > would put the information in the terminal database, and let "tmux" > automatically select the proper customized terminal description. > > To date, all of the discussion in this area seems to have been from the > people who insist on setting TERM to xterm, xterm-256color, etc., so > none of this has been productive. > > One way to address this would be to get the tmux developers to make a > proposal of how they'll fit this feature into the existing system. But > I've only seen recommendations that individuals tweak their ".tmuxrc". > > By the way, the feature being discussed is "direct color", not "true color".
From my understanding, tmux does the mapping itself based on what it's attached to. For example, if I start a tmux 2.7 in mate-terminal (which supports 24-bit color) with the color #ff6274, when I attach that tmux session to a linux console, I get light red. In other words, AFAICT, you can always use direct color in newer versions of tmux and tmux will map the colors to whatever the underlying terminal is capable of. -- brian m. carlson: Houston, Texas, US OpenPGP: https://keybase.io/bk2204
signature.asc
Description: PGP signature