Taylor Hedberg wrote:

> Patch 7.3.343 introduced improved mouse support for Vim when running in
> the urxvt terminal. It requires that the 'ttymouse' option be set to
> "urxvt" in order to enable the new mouse support. Since the patch,
> strange behavior sometimes occurs (such as ignored mouse events) if
> ttymouse is left at its old default value, "xterm2", when running within
> urxvt. Setting the option to "urxvt" makes these problems disappear.
> 
> However, "urxvt" is not documented as a valid string value for the
> 'ttymouse' option, so the only way a user could find out about how to
> enable this feature is to read the commit message for patch 343. The
> attached patch adds a trivial mention of the new valid setting to the
> 'ttymouse' documentation in options.txt, which should improve the
> discoverability of this feature.

Thanks for the patch, I'll include it.

> Perhaps it would be even better if 'ttymouse' were automatically set to
> "urxvt" when 'term' is "rxvt-unicode" or "rxvt-unicode-256color"?

There was a patch to improve mouse behavior, I'm not sure if this causes
'ttymouse' to be set automatically.

-- 
hundred-and-one symptoms of being an internet addict:
198. You read all the quotes at Netaholics Anonymous and keep thinking
     "What's wrong with that?"

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
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

Raspunde prin e-mail lui