This is used to iterate over the virtual terminal's rows, looking for something. The callback receives the contents of each row, and its index, in turn.
If the callback returns a true value, then the find_row method will return the current row's index.
If the callback returns all false values, then the find_row method will return undef.
undef
Returns whether the specified string is contained in the virtual terminal's contents.
Returns whether the specified regex matches any of the VT's rows.
Returns the character at the specified (row, col)
Will join together all of the rows in the VT with the optional delimiter (default is the empty string).
Takes a hash with the following keys, and returns the ANSI escape code that can be used to get those keys set.
Returns an int representing the color NetHack uses for whatever is occupying the specified tile.
Returns 80 ints representing the color of each cell of the row.
To install TAEB, copy and paste the appropriate command in to your terminal.
cpanm
cpanm TAEB
CPAN shell
perl -MCPAN -e shell install TAEB
For more information on module installation, please visit the detailed CPAN module installation guide.