Term::Completion::_termsize - utility package to determine terminal size
This utility package contains a method that is required for Term::Completion to determine the size (columns, rows) of the current terminal window. This package uses Term::Size if available, and tries to fall back on the "ioctl" in perlfunc and some header files if not.
Return the terminal size as a list of columns and rows.
Marek Rouchal <marekr@cpan.org>
Reused code from "How do I get the screen size?" in perlfaq8.
Copyright (c) 2009, Marek Rouchal. All Rights Reserved. This module is free software. It may be used, redistributed and/or modified under the same terms as Perl itself.
Term::Size, perlfaq8
To install Term::Completion, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Term::Completion
CPAN shell
perl -MCPAN -e shell install Term::Completion
For more information on module installation, please visit the detailed CPAN module installation guide.