$window->getsize
$window->getsize function: GETs the current window SIZE
($lines, $columns) = $window->getsize( | void) ; |
$columns = $window->getsize( | void) ; |
This function returns the current size of the window (in characters), in terms of lines and columns. It can return both dimensions, or just the number of columns.