Diff to HTML by rtfpessoa

Files changed (4) hide show
  1. runtime/doc/options.txt +19 -1
  2. runtime/doc/quickref.txt +2 -1
  3. runtime/doc/term.txt +10 -1
  4. runtime/doc/version9.txt +3 -0
runtime/doc/options.txt CHANGED
@@ -1,4 +1,4 @@
1
- *options.txt* For Vim version 9.2. Last change: 2026 Mar 02
2
 
3
 
4
  VIM REFERENCE MANUAL by Bram Moolenaar
@@ -9096,6 +9096,24 @@ A jump table for the options with a short description can be found at |Q_op|.
9096
  <
9097
  NOTE: This option is reset when 'compatible' is set.
9098
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9099
  *'termwinkey'* *'twk'*
9100
  'termwinkey' 'twk' string (default "")
9101
  local to window
 
1
+ *options.txt* For Vim version 9.2. Last change: 2026 Mar 04
2
 
3
 
4
  VIM REFERENCE MANUAL by Bram Moolenaar
 
9096
  <
9097
  NOTE: This option is reset when 'compatible' is set.
9098
 
9099
+ *'termsync'* *'tsy'*
9100
+ 'termsync' 'tsy' boolean (default off)
9101
+ global
9102
+ If the host terminal supports it, buffer all screen updates made
9103
+ during a redraw cycle so that each screen is displayed in the terminal
9104
+ all at once. This can prevent tearing or flickering when the terminal
9105
+ updates faster than Vim can redraw. If the host terminal does not
9106
+ support it or if Vim is running graphically, then this option does
9107
+ nothing.
9108
+
9109
+ The specification can be found at:
9110
+ https://github.com/contour-terminal/vt-extensions/blob/master/synchronized-output.md
9111
+
9112
+ Vim may set this option automatically at startup time when Vim is
9113
+ compiled with the |+termresponse| feature, by querying the terminal
9114
+ for DEC mode 2026 support. The terminal codes used are |t_BS| and
9115
+ |t_ES|.
9116
+
9117
  *'termwinkey'* *'twk'*
9118
  'termwinkey' 'twk' string (default "")
9119
  local to window
runtime/doc/quickref.txt CHANGED
@@ -1,4 +1,4 @@
1
- *quickref.txt* For Vim version 9.2. Last change: 2026 Mar 02
2
 
3
 
4
  VIM REFERENCE MANUAL by Bram Moolenaar
@@ -963,6 +963,7 @@ Short explanation of each option: *option-list*
963
  'termbidi' 'tbidi' terminal takes care of bi-directionality
964
  'termencoding' 'tenc' character encoding used by the terminal
965
  'termguicolors' 'tgc' use GUI colors for the terminal
 
966
  'termwinkey' 'twk' key that precedes a Vim command in a terminal
967
  'termwinscroll' 'twsl' max number of scrollback lines in a terminal window
968
  'termwinsize' 'tws' size of a terminal window
 
1
+ *quickref.txt* For Vim version 9.2. Last change: 2026 Mar 04
2
 
3
 
4
  VIM REFERENCE MANUAL by Bram Moolenaar
 
963
  'termbidi' 'tbidi' terminal takes care of bi-directionality
964
  'termencoding' 'tenc' character encoding used by the terminal
965
  'termguicolors' 'tgc' use GUI colors for the terminal
966
+ 'termsync' 'tsy' enable terminal sync mode for redraw
967
  'termwinkey' 'twk' key that precedes a Vim command in a terminal
968
  'termwinscroll' 'twsl' max number of scrollback lines in a terminal window
969
  'termwinsize' 'tws' size of a terminal window
runtime/doc/term.txt CHANGED
@@ -1,4 +1,4 @@
1
- *term.txt* For Vim version 9.2. Last change: 2026 Feb 14
2
 
3
 
4
  VIM REFERENCE MANUAL by Bram Moolenaar
@@ -510,6 +510,10 @@ Added by Vim (there are no standard codes for these):
510
  |xterm-focus-event|
511
  t_fd disable focus-event tracking *t_fd* *'t_fd'*
512
  |xterm-focus-event|
 
 
 
 
513
 
514
  Some codes have a start, middle and end part. The start and end are defined
515
  by the termcap option, the middle part is text.
@@ -528,6 +532,11 @@ t_SH must take one argument:
528
  t_RS is sent only if the response to t_RV has been received. It is not used
529
  on Mac OS when Terminal.app could be recognized from the termresponse.
530
 
 
 
 
 
 
531
  *mouse-reporting*
532
  Many terminals can report mouse clicks and some can report mouse movement and
533
  dragging. Vim needs to know what codes are being used for this.
 
1
+ *term.txt* For Vim version 9.2. Last change: 2026 Mar 04
2
 
3
 
4
  VIM REFERENCE MANUAL by Bram Moolenaar
 
510
  |xterm-focus-event|
511
  t_fd disable focus-event tracking *t_fd* *'t_fd'*
512
  |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'
517
 
518
  Some codes have a start, middle and end part. The start and end are defined
519
  by the termcap option, the middle part is text.
 
532
  t_RS is sent only if the response to t_RV has been received. It is not used
533
  on Mac OS when Terminal.app could be recognized from the termresponse.
534
 
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
+
540
  *mouse-reporting*
541
  Many terminals can report mouse clicks and some can report mouse movement and
542
  dragging. Vim needs to know what codes are being used for this.
runtime/doc/version9.txt CHANGED
@@ -52613,6 +52613,9 @@ Options: ~
52613
 
52614
  'statuslineopt' Extra options for the 'statusline', e.g. use the
52615
  "maxheight" suboption to use several lines.
 
 
 
52616
  'winhighlight' Window-local highlight group mappings.
52617
 
52618
  ==============================================================================
 
52613
 
52614
  'statuslineopt' Extra options for the 'statusline', e.g. use the
52615
  "maxheight" suboption to use several lines.
52616
+ 't_BS' Begin synchronized update.
52617
+ 't_ES' End synchronized update.
52618
+ 'termsync' Enable support for terminal DEC 2026 sync mode.
52619
  'winhighlight' Window-local highlight group mappings.
52620
 
52621
  ==============================================================================