Name : perl-Term-Size
| |
Version : 0.211
| Vendor : obs://build_opensuse_org/server:monitoring
|
Release : 150400.2.1
| Date : 2023-03-28 18:03:34
|
Group : Unspecified
| Source RPM : perl-Term-Size-0.211-150400.2.1.src.rpm
|
Size : 0.02 MB
| |
Packager : https://www_suse_com/
| |
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_SP4/x86_64 |