[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Feature: where terminal reports mouse click to bash, support positio
Re: Feature: where terminal reports mouse click to bash, support positioning the cursor accordingly
Mon, 18 Jan 2021 14:11:08 -0500
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
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
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
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.
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU email@example.com http://tiswww.cwru.edu/~chet/