mirror of
https://github.com/python/cpython.git
synced 2026-07-26 20:03:16 -04:00
306d7a7649
has_mouse() reports whether the mouse driver was successfully initialized. window.mouse_trafo(y, x, to_screen) converts a coordinate pair between window-relative and screen-relative coordinates, returning the (y, x) pair or None if it lies outside the window. Together these complete the curses mouse interface. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>