emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why have you disable mouse on TTY builds?


From: Angelo Graziosi
Subject: Re: Why have you disable mouse on TTY builds?
Date: Sat, 18 Jan 2025 20:26:02 +0100
User-agent: Mozilla Thunderbird

Il 13/01/2025 07:36, Jared Finder ha scritto:
On 2025-01-08 22:25, Eli Zaretskii wrote:
Date: Wed, 08 Jan 2025 20:54:44 -0800
From: Jared Finder <jared@finder.org>
Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org

On 2025-01-08 20:52, Jared Finder wrote:
> On 2025-01-08 08:15, Angelo Graziosi wrote:
>> Just for completeness,
>>
>> I tested also the last master on MinTTY which has
>>
>> $ echo $TERM
>> xterm
>>
>> but the mouse is not supported if I do not add these lines
>>
>>     (require 'mouse)
>>     (require 'mwheel)
>>     (unless window-system
>>     (xterm-mouse-mode t)
>>     (mouse-wheel-mode t))
>>
>> to the init.el file.
>>
>> Is this to be expected?
>
> Yes, this is expected. MinTTY is not know to support OSC52 (copy /
> paste interaction with the OS), so the mouse is not automatically
> enabled.
>
> Note that I would expect you

Sorry, I mis-hit a key that sent this email early. :)

I meant to end with "note that I would expect you only need (unless
window-system (xterm-mouse-mode 1)). xterm-mouse-mode is autoloaded and
mouse-wheel-mode is enabled by default.

If MinTTY is not known to support OSC52, but actually does support
that (does it?), perhaps we could add it to the known names?  Or does
MinTTY not let us know its name programmatically?

I don't know the state of MinTTY, I don't have access to it locally. Angelo, can you please try running the following command in a bash shell in MinTTY?

echo -e '\e[>0q'

Thanks.

   -- MJF
In MinTTY it prints

angelo@PC MSYS: ~
$ echo -e '\e[>0q'


angelo@PC MSYS: ~
$ :>|mintty 3.7.7^[\






reply via email to

[Prev in Thread] Current Thread [Next in Thread]