getyx(3) — Subroutines
NAME
getyx − Gets the cursor position
SYNOPSIS
#include <curses.h>
int getyx(win, y, x)
WINDOW ∗win;
int y, x;
DESCRIPTION
The cursor coordinates of the window are placed in the two integer variables y and x. This routine is implemented as a macro, so no ampersand (&) is necessary before the variables.
RETURN VALUES
No return value is defined for this function.