[Pkg-urxvt-maintainers] Bug#847984: please include SGR mouse reporting patch

Romain Francoise rfrancoise at debian.org
Mon Dec 12 20:22:09 UTC 2016


Package: rxvt-unicode-256color
Version: 9.22-1
Severity: wishlist

I recently switched from xterm to rxvt-unicode and found that using the
mouse to switch tmux panes doesn't work past column 223. This is
apparently because there are several ways to report such mouse events
and urxvt and tmux don't agree on one:
* tmux supports the old mouse mode (limited to 223 columns) and a newer
  SGR mode ("1006")
* urxvt supports the old mode, as well as "1005" mode (which tmux used
  to support and called utf8-mouse-mode), and "1015" mode which is a
  better version of 1005.

I spoke to the tmux author and he doesn't want to support 1005 mode
because it's not possible to detect its presence transparently. To work
around this situation, the Arch Linux guys use this patch to urxvt which
adds SGR mode support:

 https://gist.githubusercontent.com/alexoj/df5bae7a4825cb596581/raw/75a1e75c2ae1ec5c0db68a29f8a6821e9e3d87a5/sgr-mouse-mode.patch

If you could add this patch to the package and thus make columns >233
work in tmux, that'd be awesome.

Thanks,
-- 
Romain Francoise <rfrancoise at debian.org>
https://people.debian.org/~rfrancoise/




More information about the Pkg-urxvt-maintainers mailing list