On Sun, 29 Dec 2024, 'Andrea Pappacoda' via vim_dev wrote:

> By default, Vim uses the non-standard, but widely supported, legacy
> xterm/Konsole format for setting "direct colors" with set setaf and
> setbf escape codes, which use semicolons as separators.
> 
> The documentation for xterm-true-color mentions that, as an alternative,
> users can set alternative sequences that use colons instead of
> semicolons. This format, though, isn't standard and it is unclear how
> widely supported it is; it was added by xterm patch 282 due to a
> misinterpretation of the ISO 8613-6 (ITU T.416) standard, and was later
> changed to the format suggested by this patch, which is the one
> specified in the standard.
> 
> Today, looking at ncurses' [terminfo], it seems that all terminal
> emulators use either the standard format (named "xterm+direct" in the
> terminfo source) or the legacy format (named "xterm+indirect" in the
> terminfo source).
> 
> Hence, I believe it makes sense to align the docs with reality.
> 
> If you're interested in the story of this escape sequence, I'd recommend
> reading
> <https://invisible-island.net/ncurses/ncurses.faq.html#xterm_16MegaColors>.
> 
> [terminfo]: https://invisible-island.net/ncurses/terminfo.ti.html

For the interested reader, this was handled via: 
https://github.com/vim/vim/pull/16350

Thanks,
Christian
-- 
A method of solution is perfect if we can forsee from the start,
and even prove, that following that method we shall attain our aim.
                -- Leibnitz

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/Z3PHxqF6kZvJXL5%2B%40256bit.org.

Raspunde prin e-mail lui