void ncurses_getmaxyx    ( resource $window   , int &$y   , int &$x   )

ncurses_getmaxyxReturns the size of a window

window

The measured window

y

This will be set to the window height

x

This will be set to the window width