[−][src]Crate ansistr
Enums
TextAlign | Text alignement options. |
TextBackground | Text alignement options. |
TextColor | Text alignement options. |
TextStyle | Text alignement options. |
Constants
ANSI_PAIR | List of supported ANSI codes. |
ANSI_REGEX | Regex pattern for maching ANSI codes. |
Functions
background_str | Wraps text with ANSI background codes. |
clean_str | Strips ANSI codes from text. |
color_str | Wraps text with ANSI color codes. |
match_indices | |
pad_str | |
repaire_str | |
size_str | |
slice_str | |
style_str | Wraps text with ANSI style codes. |
trucate_str | |
wrap_str |