Name
Window
Synopsis
$cons
->Window([flag
,left
,top
,right
,bottom
])
Gets or sets the current console window size. If
called without arguments, returns a four-element list containing
the current window coordinates in the form of
(left
,
top
,
right
,
bottom
). To set the window size, you
have to specify an additional flag parameter. If it is 0
, coordinates are considered relative
to the current coordinates; if it is nonzero, coordinates are
absolute.
Get Perl in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.