Expand description
Minimal ANSI terminal colour codes, for Rust.
woad provides the smallest useful set of fixed SGR sequences for library authors. It is not a console or TUI framework.
Constantsยง
- BG_
BLACK - Background black.
- BG_BLUE
- Background blue.
- BG_
BRIGHT_ BLACK - Background bright black.
- BG_
BRIGHT_ BLUE - Background bright blue.
- BG_
BRIGHT_ CYAN - Background bright cyan.
- BG_
BRIGHT_ GREEN - Background bright green.
- BG_
BRIGHT_ MAGENTA - Background bright magenta.
- BG_
BRIGHT_ RED - Background bright red.
- BG_
BRIGHT_ WHITE - Background bright white.
- BG_
BRIGHT_ YELLOW - Background bright yellow.
- BG_CYAN
- Background cyan.
- BG_
GREEN - Background green.
- BG_
MAGENTA - Background magenta.
- BG_RED
- Background red.
- BG_
WHITE - Background white.
- BG_
YELLOW - Background yellow.
- FG_
BLACK - Foreground black.
- FG_BLUE
- Foreground blue.
- FG_
BRIGHT_ BLACK - Foreground bright black.
- FG_
BRIGHT_ BLUE - Foreground bright blue.
- FG_
BRIGHT_ CYAN - Foreground bright cyan.
- FG_
BRIGHT_ GREEN - Foreground bright green.
- FG_
BRIGHT_ MAGENTA - Foreground bright magenta.
- FG_
BRIGHT_ RED - Foreground bright red.
- FG_
BRIGHT_ WHITE - Foreground bright white.
- FG_
BRIGHT_ YELLOW - Foreground bright yellow.
- FG_CYAN
- Foreground cyan.
- FG_
GREEN - Foreground green.
- FG_
MAGENTA - Foreground magenta.
- FG_RED
- Foreground red.
- FG_
WHITE - Foreground white.
- FG_
YELLOW - Foreground yellow.
- RESET
- Reset all attributes.
- VERSION
- Crate version.