source files: xgtm.[ch], term/*.trm, gtplot.h
(GT-MOUSE-POSITION) (SEND <gtm:terminal> :MOUSE-POSITION)
Return the location of the mouse cursor relative to the current window. (Origin (0 0) is at lower-left.) Return value is a list of two fixnums, (X Y).
Note that this call *deliberately* does not read the mouse key status, since polling the mouse buttons is a sure way to miss rapid clicks. Use (GT-BLOCKING-QUEUE-READ) and/or (GT-NONBLOCKING-QUEUE-READ) to read mouseclicks. (Or a higher level package that does so for you!)