The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Term::Completion::_termsize - utility package to determine terminal size

DESCRIPTION

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.

Methods

get_term_size()

Return the terminal size as a list of columns and rows.

AUTHOR

Marek Rouchal <marekr@cpan.org>

Reused code from "How do I get the screen size?" in perlfaq8.

COPYRIGHT

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.

SEE ALSO

Term::Size, perlfaq8