perl-Term-Size 0.2
Simple way to get terminal size
*Term::Size* is a Perl module which provides a straightforward way to
retrieve the terminal size.
Both functions take an optional filehandle argument, which defaults to
'*STDIN{IO}'. They both return a list of two values, which are the current
width and height, respectively, of the terminal associated with the
specified filehandle.
'Term::Size::chars' returns the size in units of characters, whereas
'Term::Size::pixels' uses units of pixels.
retrieve the terminal size.
Both functions take an optional filehandle argument, which defaults to
'*STDIN{IO}'. They both return a list of two values, which are the current
width and height, respectively, of the terminal associated with the
specified filehandle.
'Term::Size::chars' returns the size in units of characters, whereas
'Term::Size::pixels' uses units of pixels.
Sign Up Now!
Get One Month Free!