On 6 April 2015 at 15:19, Eli Zaretskii <[email protected]> wrote:
>> Date: Mon, 6 Apr 2015 15:03:43 +0100
>> From: Gavin Smith <[email protected]>
>> Cc: Texinfo <[email protected]>
>>
>> My only thought is that the value of the "mouse" variable will be
>> misleading, because the mouse events will be being captured by a
>> different method to that under xterm. Perhaps we could have an extra
>> value for this variable which it would default to under MS-Windows. I
>> don't care much about this though, so don't worry if it would be too
>> much effort.
>
> Maybe I missed something: why does the exact method of capturing
> matter on the user level?

It might matter if one method works better than another, or the user
might just be curious. I was mainly thinking that this variable might
have other options in the future, such as other terminal modes (there
are several that can read mouse events) or getting events from the gpm
daemon.

>
> I didn't plug the Windows code into mouse_event_handler because it is
> deeply termcap-centric, and assumes that some bytes need to be read
> for each mouse event.  It sounded excessive to me to stuff some bytes
> into the input buffer, just so that they will be then interpreted as
> mouse wheel events.
>

I didn't suggest that it should be implemented that way.

Reply via email to