Expand description
§Important
Please check if you’re printing your text on a terminal, otherwise it probably won’t work. This module is only for terminals that support ANSI escape codes.
Structs§
Constants§
- BLACK
- BLACK_
BG - BLINK_
OFF - Reset the blink
- BLUE
- BLUEBERRY
- BLUEBERRY_
BG - BLUE_BG
- BOLD
- Increase the font weight
- BOLD_
OFF - Decrease the font weight
- BRIGHT_
BLACK - BRIGHT_
BLACK_ BG - BRIGHT_
BLUE - BRIGHT_
BLUE_ BG - BRIGHT_
CYAN - BRIGHT_
CYAN_ BG - BRIGHT_
GREEN - BRIGHT_
GREEN_ BG - BRIGHT_
MAGENTA - BRIGHT_
MAGENTA_ BG - BRIGHT_
RED - BRIGHT_
RED_ BG - BRIGHT_
WHITE - BRIGHT_
WHITE_ BG - BRIGHT_
YELLOW - BRIGHT_
YELLOW_ BG - CYAN
- CYAN_BG
- DOUBLE_
UNDERLINE - END_BG
- FAINT
- Decrease the intensity
- FAINT_
OFF - Reset the intensity
- FAST_
BLINK - Make the text blink
- FOREGROUND_
OFF - GREEN
- GREEN_
BG - INVERSE
- INVERSE_
OFF - INVISIBLE
- INVISIBLE_
OFF - ITALICS
- ITALICS_
OFF - MAGENTA
- MAGENTA_
BG - ORANGE
- ORANGE_
BG - OVERLINE
- OVERLINE_
OFF - PINK
- PINK_BG
- RED
- RED_BG
- RESET
- Reset all styles
- SLOW_
BLINK - Make the text blink
- STRIKETHROUGH
- STRIKETHROUGH_
OFF - UNDERLINE
- UNDERLINE_
OFF - WHITE
- WHITE_
BG - YELLOW
- YELLOW_
BG
Traits§
- Stylize
- A trait that provides styling for terminals that support ANSI escape codes.
Functions§
- reset
- Resets the text to its default style.