Expand description
ANSI escape codes for direct terminal control
Constants§
- BOLD
- Bold
- BRIGHT
- Bright/bold default foreground - works on light AND dark terminals
- CLEAR_
LINE - Clear current line
- CRITICAL
- CURSOR_
UP - Move cursor up one line
- CYAN
- DIM
- Dim (use sparingly - varies across terminals)
- DOCKER_
BLUE - GRAY
- HIDE_
CURSOR - Hide cursor
- HIGH
- INFO_
BLUE - ITALIC
- Italic
- LOW
- MAGENTA
- MEDIUM
- ORANGE
- PINK
- PURPLE
- RESET
- Reset all styles
- SHOW_
CURSOR - Show cursor
- STD_
BLUE - Standard blue (adapts to terminal theme)
- STD_
CYAN - Standard cyan (adapts to terminal theme)
- STD_
GREEN - Standard green (adapts to terminal theme)
- STD_
MAGENTA - Standard magenta (adapts to terminal theme)
- STD_RED
- Standard red (adapts to terminal theme)
- STD_
YELLOW - Standard yellow (adapts to terminal theme)
- SUBDUED
- Standard dim that’s still readable (uses italic instead of dim for better visibility)
- SUCCESS
- TEAL
- WHITE