Patrick Byrne wrote:
> Yes 'sgr' did it - thanks! Sorry I assumed it was a bug.
> Perhaps 'sgr' ought to be the default these days.
> Cheers
> Patrick
Not sure how many terminals support sgr which supports more columns/rows.
Probably most of them support sgr these days.
In fact ":help ttymouse" says that default value depends on 'term'.
And if I do vim --clean then type :set ttymouse?
it shows: ttymouse=sgr
So it is already sgr by default at least with my xfce4-terminal.
I also see sgr in xterm.
Perhaps your .vimrc is explicitly setting ttymouse to xterm2?
Try running :verbose set ttymouse?
It may give a clue as to where ttymouse was set.
I just checked help files in neovim and interestingly, I see that neovim
has no 'ttymouse' variable. Quoting neovim help file:
=== BEGIN QUOTE nvim.txt ===
Your Vim configuration might not be entirely Nvim-compatible.
See vim-differences for the full list of changes.
The 'ttymouse' option, for example, was removed from Nvim (mouse support
should work without it).
=== END QUOTE ===
Regards
Dominique