diff --git a/runtime/doc/term.txt b/runtime/doc/term.txt index d930dd33e0..f56dbd4b6d 100644 --- a/runtime/doc/term.txt +++ b/runtime/doc/term.txt @@ -1,4 +1,4 @@ -*term.txt* For Vim version 9.1. Last change: 2024 Oct 05 +*term.txt* For Vim version 9.1. Last change: 2024 Dec 31 VIM REFERENCE MANUAL by Bram Moolenaar @@ -688,10 +688,11 @@ The default values are set like this: > let &t_8f = "\[38;2;%lu;%lu;%lum" let &t_8b = "\[48;2;%lu;%lu;%lum" -Some terminals accept the same sequences, but with all semicolons replaced by -colons (this is actually more compatible, but less widely supported): > - let &t_8f = "\[38:2:%lu:%lu:%lum" - let &t_8b = "\[48: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" These options contain printf strings, with |printf()| (actually, its C equivalent hence `l` modifier) invoked with the t_ option value and three