trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: October 2018

very wide konsole ( > 223 columns) + mouse events (machine: debian stable)

From: Ilya Dogolazky <ilya.dogolazky@...>
Date: Mon, 15 Oct 2018 20:39:16 +0300
Hello !

On a wide display my konsole window has more than 223 columns. So all
the mouse events (clicks and mouse wheel scrolling) with column
coordinate bigger than 223 are getting corrupted.

As a result VIM receives wrong mouse event coordinates. This is not a
VIM specific problem, because VIM works fine in xterm window on the
same machine (with the same settings as usual).

I compiled a testing ncurses application from here
https://stackoverflow.com/questions/47256750

It reports corrupted coordinates if running in xterm with TERM=xterm
but it reports right values when running in xterm with TERM=xterm-1006
(exactly as it is intended to work). Alas in konsole this application
either reports corrupted coordinates with TERM=xterm or doesn't
recognize mouse events at all with TERM=xterm-1006

Maybe someone knows how to get mouse events reported properly ?

Cheers,

Ilya D.