Staging: this is not the live site, pydocs.org.
Command-line interface libraries
Retrieve the queued mouse event.
After getch() returns KEY_MOUSE to signal a mouse event, this function
returns a 5-tuple (id, x, y, z, bstate).
Changed in 3.10
- 3.10: The BUTTON5_* constants are now exposed if they are provided by the underlying curses library.