Sync to monitor refreshes by default

Prevents tearing while scrolling. See #318

Reduce draw calls while processing mouse move events to make latency
while selecting with the mouse acceptable. Also add a config option to
turn off monitor syncing, so people with keyboard repeat rates higher
than their monitor's refresh rate can use it.
This commit is contained in:
Kovid Goyal
2018-02-20 09:38:00 +05:30
parent e6cb64baa5
commit 5a15f7e8ad
8 changed files with 23 additions and 10 deletions

View File

@@ -25,8 +25,8 @@ version 0.8.0 [future]
variation presentation selector.
- Prevent video tearing during high speed scrolling by syncing draws
to the monitor's refresh rate (only works if supported by the graphics
drivers).
to the monitor's refresh rate. There is a new configuration option to
control this ``sync_to_monitor``.
- Add some non standard terminfo capabilities used by neovim and tmux.