$windown
is a variable that is always present
and points to the current window. It is an object of class
Window
, and is opaque, that is, all interaction
with it should be done via its functions, and not via its
members.
The sections below describe the functions
available for the $window
variable.
getsize
This functions 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.