Skip to content

Commit fd5710b

Browse files
authored
Merge pull request #2531 from h-east/update-term
Update term.{txt,jax}
2 parents ef6014e + 24c1e8e commit fd5710b

2 files changed

Lines changed: 19 additions & 2 deletions

File tree

doc/term.jax

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*term.txt* For Vim バージョン 9.2. Last change: 2026 Feb 14
1+
*term.txt* For Vim バージョン 9.2. Last change: 2026 Mar 04
22

33

44
VIM リファレンスマニュアル by Bram Moolenaar
@@ -505,6 +505,10 @@ Vim 独自のもの (標準的なコードはないもの):
505505
|xterm-focus-event|
506506
t_fd フォーカスイベント追跡を無効化する *t_fd* *'t_fd'*
507507
|xterm-focus-event|
508+
t_BS 同期更新を開始する *t_BS* *'t_BS'*
509+
'termsync' を参照
510+
t_ES 同期更新を終了する *t_ES* *'t_ES'*
511+
'termsync' を参照
508512

509513
いくつかのコードは、開始、中間および終了部分を持ちます。開始と終了はオプション
510514
termcap で定義され、中間部分はテキストです。
@@ -523,6 +527,10 @@ t_SH は 1 つの引数を取らなければなりません:
523527
t_RS は、t_RV に対する応答を受け取った場合のみ送られます。termresponse から
524528
Terminal.app が認識され得る場合、Mac OS 上では使われません。
525529

530+
t_BS と t_ES は termcap に格納されないが、起動時に次のデフォルト値に設定される:
531+
t_BS "\033[?2026h"
532+
t_ES "\033[?2026l"
533+
526534
*mouse-reporting*
527535
多くの端末はマウスのクリックを報告し、いくつかの端末はマウスの動きやドラッグを
528536
報告することができます。Vim はこのためにどんなコードが使われているかを知る必要

en/term.txt

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*term.txt* For Vim version 9.2. Last change: 2026 Feb 14
1+
*term.txt* For Vim version 9.2. Last change: 2026 Mar 04
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -510,6 +510,10 @@ Added by Vim (there are no standard codes for these):
510510
|xterm-focus-event|
511511
t_fd disable focus-event tracking *t_fd* *'t_fd'*
512512
|xterm-focus-event|
513+
t_BS begin synchronized update *t_BS* *'t_BS'*
514+
see 'termsync'
515+
t_ES end synchronized update *t_ES* *'t_ES'*
516+
see 'termsync'
513517

514518
Some codes have a start, middle and end part. The start and end are defined
515519
by the termcap option, the middle part is text.
@@ -528,6 +532,11 @@ t_SH must take one argument:
528532
t_RS is sent only if the response to t_RV has been received. It is not used
529533
on Mac OS when Terminal.app could be recognized from the termresponse.
530534

535+
The t_BS and t_ES are not stored in the termcap, but are instead set to the
536+
following default values on startup:
537+
t_BS "\033[?2026h"
538+
t_ES "\033[?2026l"
539+
531540
*mouse-reporting*
532541
Many terminals can report mouse clicks and some can report mouse movement and
533542
dragging. Vim needs to know what codes are being used for this.

0 commit comments

Comments
 (0)