Term::VT102::Boundless - A Term::VT102 that grows automatically to accomodate whatever you print to it.
use Term::VT102::Boundless; my $t = Term::VT102::Boundless->new( # you can optionally specify minimal dimensions cols => 80, rows => 24, ); $t->process($_) for @text; warn "screen dimensions are " . $t->cols . "x" . $t->rows;
This is a subclass of Term::VT102 that will grow the virtual screen to accomodate arbitrary width and height of text.
The behavior is more similar to the buffer of a scrolling terminal emulator than to a real terminal, making it useful for output displays in scrolling media.
Overrides "new" in Term::VT102, providing default cols and rows values of 1 (instead of 80 and 24).
cols
rows
1
80
24
Term::VT102, HTML::FromANSI, Term::ANSIColor
Yuval Kogman <nothingmuch@woobling.org>
Copyright (c) 2007 Yuval Kogman. All rights reserved This program is free software; you can redistribute it and/or modify it under the terms of the MIT license or the same terms as Perl itself.
To install Term::VT102::Boundless, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Term::VT102::Boundless
CPAN shell
perl -MCPAN -e shell install Term::VT102::Boundless
For more information on module installation, please visit the detailed CPAN module installation guide.