Skip to content

Commit 130b312

Browse files
authored
Merge pull request #1905 from h-east/update-term
Update term.{txt,jax}
2 parents 582c987 + 4cb3e11 commit 130b312

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

doc/term.jax

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*term.txt* For Vim バージョン 9.1. Last change: 2024 Oct 05
1+
*term.txt* For Vim バージョン 9.1. Last change: 2024 Dec 31
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -684,11 +684,11 @@ https://github.com/termstandard/colors を参照してください。
684684
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
685685
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
686686
687-
端末によっては、セミコロンをすべてコロンに置き換えた同じシーケンスを受け付ける
688-
ものもあります (この方が実際には互換性が高いですが、あまり広くサポートされてい
689-
ません): >
690-
let &t_8f = "\<Esc>[38:2:%lu:%lu:%lum"
691-
let &t_8b = "\<Esc>[48:2:%lu:%lu:%lum"
687+
一部の端末では、セミコロンをコロンに置き換え、数字 2 の後にコロンを追加した同
688+
様のシーケンスが受け入れられます (これは ISO 8613-6 標準に準拠していますが、あ
689+
まり広くサポートされていません): >
690+
let &t_8f = "\<Esc>[38:2::%lu:%lu:%lum"
691+
let &t_8b = "\<Esc>[48:2::%lu:%lu:%lum"
692692
693693
これらのオプションは printf 用の文字列を含んでおり、|printf()| (実際には `l`
694694
modifier ゆえに C 言語のものと同等) により t_ オプションの値と、赤、青、緑を表

en/term.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*term.txt* For Vim version 9.1. Last change: 2024 Oct 05
1+
*term.txt* For Vim version 9.1. Last change: 2024 Dec 31
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -688,10 +688,11 @@ The default values are set like this: >
688688
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
689689
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
690690
691-
Some terminals accept the same sequences, but with all semicolons replaced by
692-
colons (this is actually more compatible, but less widely supported): >
693-
let &t_8f = "\<Esc>[38:2:%lu:%lu:%lum"
694-
let &t_8b = "\<Esc>[48:2:%lu:%lu:%lum"
691+
Some terminals accept similar sequences, with semicolons replaced by colons
692+
and an extra colon after the number 2 (this is conformant to the ISO 8613-6
693+
standard, but less widely supported): >
694+
let &t_8f = "\<Esc>[38:2::%lu:%lu:%lum"
695+
let &t_8b = "\<Esc>[48:2::%lu:%lu:%lum"
695696
696697
These options contain printf strings, with |printf()| (actually, its C
697698
equivalent hence `l` modifier) invoked with the t_ option value and three

0 commit comments

Comments
 (0)