• mousePos ?(-s|-p|-w)?
Return the mouse position as a list of two coordinates. Depending on the
specified option, the position is returned in different coordinate systems:
-s | screen coordinates |
-p | current pane coordinates |
-w | window coordinates |
Option -s is the default. Options -p and -w
will raise an error if no window is open.