getyx(3ncurses) on Linux
The text c1fece0936e2, as Debian 10 (Buster), Debian 9 (Stretch), Debian 8 (Jessie), Debian 7 (Wheezy) shipped it.
get curses cursor and window coordinates
The text c1fece0936e2, as Debian 10 (Buster), Debian 9 (Stretch), Debian 8 (Jessie), Debian 7 (Wheezy) shipped it.
get curses cursor and window coordinates