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 <firstname.lastname@example.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.