Name : perl-Term-Size
| |
Version : 0.211
| Vendor : obs://build_opensuse_org/server:monitoring
|
Release : 150300.2.5
| Date : 2022-11-21 13:03:27
|
Group : Unspecified
| Source RPM : perl-Term-Size-0.211-150300.2.5.src.rpm
|
Size : 0.02 MB
| |
Packager : (none)
| |
Summary : Retrieve terminal size on Unix
|
Description :
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.
In a scalar context, both functions return the first element of the list, that is, the terminal width.
The functions may be imported.
If you need to pass a filehandle to either of the Term::Size functions, beware that the \'*STDOUT{IO}\' syntax is only supported in Perl 5.004 and later. If you have an earlier version of Perl, or are interested in backwards compatibility, use \'*STDOUT\' instead.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/server:/monitoring/SLE_15_SP3/x86_64 |