|
NAMETerm::VT102::Boundless - A Term::VT102 that grows automatically to accomodate whatever you print to it. SYNOPSIS 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;
DESCRIPTIONThis 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. METHODS
SEE ALSOTerm::VT102, HTML::FromANSI, Term::ANSIColor AUTHORYuval Kogman <nothingmuch@woobling.org> COPYRIGHT & LICENSE 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.
|