bug-bash
[Top][All Lists]
Advanced

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

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


From: Chet Ramey
Subject: Re: Feature: where terminal reports mouse click to bash, support positioning the cursor accordingly
Date: Mon, 18 Jan 2021 14:11:08 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.6.1

On 1/17/21 6:57 PM, 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.

What information does the terminal emulator pass to the application to
indicate the desired position? How would readline translate that into a
series of readline commands that would position the cursor, filtering
out invalid requests, of course?

This would require a lot more detail and a better specification before I
would be able to do something with it.

Chet

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/



reply via email to

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