Commit: runtime(doc): document &t_8u as &t_8f and &t_8b
Christian Brabandt <[email protected]>
| Newsgroups | gmane.editors.vim.devel |
|---|---|
| Message-ID | <[email protected]> |
runtime(doc): document &t_8u as &t_8f and &t_8b Commit: https://github.com/vim/vim/commit/02c0a90404f534f0ba1fc5754002f8f9f014c061 Author: Shay Hill <[email protected]> Date: Sat Jul 25 16:08:14 2026 +0000 runtime(doc): document &t_8u as &t_8f and &t_8b fixes: https://github.com/vim/vim/issues/20413 closes: https://github.com/vim/vim/issues/20837 Signed-off-by: Shay Hill <[email protected]> Signed-off-by: Christian Brabandt <[email protected]> diff --git a/runtime/doc/term.txt b/runtime/doc/term.txt index 7d7466f1d..a20143efa 100644 --- a/runtime/doc/term.txt +++ b/runtime/doc/term.txt @@ -1,4 +1,4 @@ -*term.txt* For Vim version 9.2. Last change: 2026 Mar 04 +*term.txt* For Vim version 9.2. Last change: 2026 Jul 25 VIM REFERENCE MANUAL by Bram Moolenaar @@ -690,18 +690,20 @@ work the 'termguicolors' option needs to be set. See https://github.com/termstandard/colors for a list of terminals that support true colors. -For telling the terminal what RGB color to use the |t_8f| and |t_8b| termcap -entries are used. These are set by default to values that work for most -terminals. If that does not work for your terminal you can set them manually. -The default values are set like this: > +For telling the terminal what RGB color to use the |t_8f|, |t_8b|, and |t_8u| +termcap entries are used. These are set by default to values that work for +most terminals. If that does not work for your terminal you can set them +manually. The default values are set like this: > let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum" let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum" + let &t_8u = "\<Esc>[58;2;%lu;%lu;%lum" Some terminals accept similar sequences, with semicolons replaced by colons and an extra colon after the number 2 (this is conformant to the ISO 8613-6 standard, but less widely supported): > let &t_8f = "\<Esc>[38:2::%lu:%lu:%lum" let &t_8b = "\<Esc>[48:2::%lu:%lu:%lum" + let &t_8u = "\<Esc>[58:2::%lu:%lu:%lum" These options contain printf strings, with |printf()| (actually, its C equivalent hence `l` modifier) invoked with the t_ option value and three -- -- 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 [email protected]. To view this discussion visit https://groups.google.com/d/msgid/vim_dev/E1wnf1k-00DVJB-7B%40256bit.org.