Simple way to get terminal size
24.78 KB
built 2026-10-17 00:59:33 GMT
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.
Dependencies
16 totalRequires15
- coreutils
- findutils
- gcc
- make
- perl(DynaLoader)
- perl(Exporter)
- perl(ExtUtils::MakeMaker) >= 6.76
- perl(Test::More)
- perl(strict)
- perl(vars)
- perl-devel
- perl-generators
- perl-interpreter
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
Provides1
- perl-Term-Size = 0.211-20.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
2Name ![]() |
Size |
|---|---|
| Term-Size-0.211.tar.gz | 5.29 KB |
| perl-Term-Size.spec | 8.71 KB |
Files 1–2 of 2
Component of
buildroots that installed this RPMNo Buildroots
