Skip to main content

Module export

Module export 

Source
Expand description

Turning screen contents back into files or clipboard text: plain text, and ANSI as BBS art viewers and editors expect it (CP437 bytes for .ans files, or Unicode for pasting).

Structs§

AnsiOptions
Options for ansi.

Functions§

ansi
ANSI with SGR attributes, one CRLF-terminated line per row. Trailing blanks on each line and trailing blank lines are left out.
text
Plain text, one line per row, trailing blanks and blank lines trimmed.
text_in
text, from a screen in a code page other than CP437.