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: Eli Zaretskii
Subject: Re: Why have you disable mouse on TTY builds?
Date: Thu, 09 Jan 2025 08:25:18 +0200

> 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?



reply via email to

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