From: Shay Hill Date: Sat, 25 Jul 2026 16:08:14 +0000 (+0000) Subject: runtime(doc): document &t_8u as &t_8f and &t_8b X-Git-Tag: v9.2.0855~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=02c0a90404f534f0ba1fc5754002f8f9f014c061;p=thirdparty%2Fvim.git runtime(doc): document &t_8u as &t_8f and &t_8b fixes: #20413 closes: #20837 Signed-off-by: Shay Hill Signed-off-by: Christian Brabandt --- diff --git a/runtime/doc/term.txt b/runtime/doc/term.txt index 7d7466f1df..a20143efa8 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 = "\[38;2;%lu;%lu;%lum" let &t_8b = "\[48;2;%lu;%lu;%lum" + let &t_8u = "\[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 = "\[38:2::%lu:%lu:%lum" let &t_8b = "\[48:2::%lu:%lu:%lum" + let &t_8u = "\[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