c496c179c0154d35dfa8c5d13eb7d4e98fb89519
—
Kiril Vladimirov
2 years agocd78271
Emit SGR-styled mouse reporting if possible
The mouse works even in columns beyond 223. This option is backward
compatible with "xterm2" because it can also decode "xterm2" style mouse
codes.
See :help ttymouse
@@ 62,7 62,11 @@ set number" Mouse support
set mouse=a
if !has('nvim')
- set ttymouse=xterm2
+ if has("mouse_sgr")
+ set ttymouse=sgr
+ else
+ set ttymouse=xterm2
+ endif
endif
" Send more characters for faster re-draws