Image::TextMode::Reader::ANSI - Reads ANSI files
Provides reading capabilities for the ANSI format.
tabstop - every Nth character will be a tab stop location (default: 8)
save_x - saved x position (default: 0)
save_y - saved y position (default: 0)
x - current x (default: 0)
y - current y (default: 0)
attr - current attribute info (default: 7, gray on black)
state - state of the parser (default: $S_TXT)
$S_TXT
image - the image we're parsing into
linewrap - max width before we wrap to the next line (default: 80)
Moves the cursor to $x, $y.
$x, $y
Sets the default attribute information (fg and bg).
Moves the cursor up $y lines.
$y
Moves the cursor down $y lines.
Moves the cursor left $x columns.
$x
Moves the cursor right $x columns.
Saves the current cursor position.
Restores the saved cursor position.
Clears all data on the canvas.
Clears the line at $y.
Set the attribute to RGB color. Also, sets image to true-color mode.
Enables a feature.
Disables a feature.
Simulates a \n character.
\n
Simulates a \t character.
\t
Stores $char at position $x, $y with either the supplied attribute or the current attribute setting.
$char
Brian Cassidy <bricas@cpan.org>
Copyright 2008-2015 by Brian Cassidy
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Image::TextMode, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Image::TextMode
CPAN shell
perl -MCPAN -e shell install Image::TextMode
For more information on module installation, please visit the detailed CPAN module installation guide.