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).
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.
<!--
This is a comment.
Please fill in the required fields below.
The comments provide instructions on how to do so.
Note: You do not need to remove comments.
-->
## Basic information
- TDE version: unknown <!-- such as R14.0.5 -->
- Distribution: Debian Stretch <!-- such as Debian 9 or Debian Stretch -->
- Hardware: unknown <!-- amd64 / i386 / armhf / ... -->
<!--
Use SL/* labels to set the severity level.
Please do not set a milestone.
-->
## Description
Reported from users ML:
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.
Basic information
Description
Reported from users ML:
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.