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


Term-Completion documentation  | view source Contained in the Term-Completion distribution.

Index


NAME

Top

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

DESCRIPTION

Top

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

Top

Marek Rouchal <marekr@cpan.org>

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

COPYRIGHT

Top

SEE ALSO

Top

Term::Size, perlfaq8


Term-Completion documentation  | view source Contained in the Term-Completion distribution.