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

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/CAON-T_gdxCrc4V0-SvoLmKAK-40_0k%2BBR%2B5ZeRjnbbCEf9QXow%40mail.gmail.com.

Raspunde prin e-mail lui