lilydjwg wrote:

> On Thu, Jun 22, 2017 at 10:38:27PM +0200, Bram Moolenaar wrote:
> > 
> > Patch 8.0.0661
> > Problem:    Recognizing urxvt mouse codes does not work well.
> > Solution:   Recognize "Esc[*M" and "Esc[*m". (Maurice Bos, closes #1486)
> > Files:      src/keymap.h, src/misc2.c, src/os_unix.c, src/term.c
> 
> With this patch, Vim no longer supports mouse in my tmux inside xterm
> / xfce4-terminal.
> 
> To reproduce:
> 
> vim -N -u NONE
> 
> then run :set mouse=a
> 
> Vim still behaves without mouse support.
> 
> Versions:
> 
> vim: tried latest. git bisect found this patch
> tmux: 2.5
> ncurses: 6.0+20170527
> xterm: 329
> xfce4-terminal: 0.8.5.1
> vte3: 0.48.3
> 
> on current arch linux x86_64, $TERM is "tmux" / "tmux-256color".
> 
> It does work when I set $TERM to "screen" / "screen-256color".

I was afraid this might happen, the parsing code is quite complicated.
Should write a unit test for this...

I should be able to run tmux and reproduce it.

-- 
hundred-and-one symptoms of being an internet addict:
72. Somebody at IRC just mentioned a way to obtain full motion video without
    a PC using a wireless protocol called NTSC, you wonder how you never
    heard about it

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

--- 
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].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui