[Top][All Lists]

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

Re: Feature: where terminal reports mouse click to bash, support positio

From: IFo Hancroft
Subject: Re: Feature: where terminal reports mouse click to bash, support positioning the cursor accordingly
Date: Mon, 18 Jan 2021 06:29:19 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1


This has nothing to do with BASH or any shell for that matter. What you
want (the ability to reposition the cursor in the terminal with a mouse
click) can be done with just the terminal itself.

It varies which part needs to do this depending on whether your terminal
emulator application is separate from the terminal library or not, but
generally an application has access to the mouse click events and the
terminal library (if separate) is the one drawing and positioning the
cursor on screen.

Best Regards,
IFo Hancroft

On 1/18/21 1:57 AM, mcarans--- via Bug reports for the GNU Bourne Again
SHell wrote:
> Hi,
>  It would be great to be able to use the mouse to click to position the 
> cursor in bash. I raised this with the Gnome terminal emulator hereĀ and they 
> said "The cursor position is under the control of the application, not the 
> terminal emulator. vte supports reporting the mouse click to the application, 
> and the application can reposition the cursor accordingly."
> My request is that bash support the mouse information that terminal emulators 
> pass to it so that it is possible to click the mouseĀ button to position the 
> cursor.
> Thanks,Mike

reply via email to

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