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 c...@case.edu http://tiswww.cwru.edu/~chet/