Hi,

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