Module ansi

Source
Expand description

This module helps with ANSI strings

Structs§

AnsiString
Represents an ANSI string.
StyledText
A text string that contains an optional style
TextEffects
The effects of a text
TextStyle
The style of a text

Enums§

Error
Errors that can occur when converting an ANSI string to HTML

Functions§

ansi_to_text
Convert ANSI sequences to styled text.