feat(tui): add 'termsync' option (#25871)

The 'termsync' option enables a mode (provided the underlying terminal
supports it) where all screen updates during a redraw cycle are buffered
and drawn together when the redraw is complete. This eliminates tearing
or flickering in cases where Nvim redraws slower than the terminal
redraws the screen.
This commit is contained in:
Gregory Anders
2023-11-14 08:53:58 -06:00
committed by GitHub
parent b73a829837
commit ac8ed77afb
9 changed files with 130 additions and 2 deletions

View File

@@ -23,6 +23,7 @@ describe('UI receives option updates', function()
mousemoveevent=false,
showtabline=1,
termguicolors=false,
termsync=true,
ttimeout=true,
ttimeoutlen=50,
verbose=0,