[patch] Correctly handle URXVT mouse in set/del_mouse_termcode

2011-11-02 Thread James McCoy
Since the urxvt mouse handling was added, certain actions in Vim would cause the mouse to get disabled even all the setting still indicated it should be enabled. When running Vim in xterm, check_mouse_termcode() calls set_mouse_termcode(KS_MOUSE, ...) to enable xterm handling as well as del_mouse_

Re: [patch] Correctly handle URXVT mouse in set/del_mouse_termcode

2011-11-03 Thread Taylor Hedberg
I noticed that problem myself, but it went away when I set ttymouse=urxvt rather than its default (in urxvt), which is xterm2. Not that your patch isn't worthwhile, but setting the option appropriately can serve as a workaround in the interim. Also, the urxvt setting for 'ttymouse' isn't documente

Re: [patch] Correctly handle URXVT mouse in set/del_mouse_termcode

2011-11-03 Thread James McCoy
On Thu, Nov 03, 2011 at 09:57:01AM -0400, Taylor Hedberg wrote: > I noticed that problem myself, but it went away when I set > ttymouse=urxvt rather than its default (in urxvt), which is xterm2. Not > that your patch isn't worthwhile, but setting the option appropriately > can serve as a workaround