On Mon, Mar 16, 2020 at 05:41:55PM +0100, Tony Mechelynck wrote:
> On Mon, Mar 16, 2020 at 5:10 PM Kennedy, Marcus A.
> <
Marcus....@rocket.com> wrote:
> > This issue has been going on for about 6-8 years and on multiple systems. I cannot
> > use the mouse when it is in the last 20% of the screen (no click, scroll, select, etc).
> > I'm using Slackware 14.2 with the stock versions of KDE, Konsole, and vim.
> >
> > I attempted mouse operations on the right side of the screen with pico and it works.
> >
> > Anyone have any ideas as to why this is happening?
>
> I don't know WHY this happens but I confirm THAT it happens in my
> Konsole terminal, version 18.12.3, where v:termresponse is
> ^[[>0;115;0c — clicking the mouse moves the cursor, but only if no
> farther than in virtual column 223. This is a _screen_ column and
> applies to any of the screen lines of a wrapped file line.
Check the 'ttymouse' setting. The "xterm" mouse protocol doesn't support
columns beyond 223.
I'm using gnome-terminal and my vim automatically detects this and sets
ttymouse to sgr, which doesn't have the 223-column limit.
Try manually forcing :set ttymouse=sgr, see if that helps.
Assuming it does: I don't know if vim can autodetect Konsole, given that
it self-reports as xterm 115. According to :help 'ttymouse', the sgr
protocol was added in xterm 277.
HTH,
Marius Gedminas
--
"question = (to) ? be : !be;" -- Shakespeare