Control: tags -1 + fixed-upstream On 2018-05-13 10:33 -0400, Thomas Dickey wrote:
> On Sun, May 13, 2018 at 09:27:03AM +0200, Sven Joachim wrote: >> Control: tags -1 upstream >> >> On 2018-04-15 16:45 +0000, brian m. carlson wrote: >> >> > Package: ncurses-term >> > Version: 6.1+20180210-1 >> > Severity: wishlist >> > >> > tmux has, since version 2.2, supported true color capabilities, but >> > there is no terminal definition (either tmux* or screen*) that handles >> > true color. This means that people who want to use true color-capable >> > programs, like Vim, in tmux must specifically and manually set >> > properties to enable this functionality. >> > >> > Could you add a tmux-direct type to handle the increase in colors and >> > implement true color support? >> >> Thomas, what is your opinion on this? > > 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". Despite these reservations, you added tmux-direct in the 20201003 patchlevel this weekend, not mentioning this bug report but referring to https://github.com/tmux/tmux/issues/2370. Cheers, Sven