Monday, March 16, 2020

Re: Mouse not working last 20% of screen

On Mon, Mar 16, 2020 at 5:49 PM Gary Johnson <garyjohn@spocom.com> wrote:
>
> On 2020-03-16, Kennedy, Marcus A. wrote:
> > Hello,
> >
> > 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?
>
> Try
>
> set ttymouse=sgr
>
> See
>
> :help 'ttymouse'
>
> HTH,
> Gary

Yeah, sgr mouse will be set if an xterm (or pseudo-xterm) version is
>= 277 (per the middle number in v:termresponse). Since my konsole
pretends to be xterm version 115, Vim does _not_ recognize it as
sgr-capable. My "real" xterm, OTOH, is version 330, so there it would
work even if 'columns' were higher.

Without sgr capability, an xterm only "sees" the mouse if no farther
right than column 223.

Best regards,
Tony.

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAJkCKXv5-KpuOSoUB2YWzBTZQqD9nXisYhzA5kgrE47jNFwgvQ%40mail.gmail.com.

No comments: