Color escape characters
Initiate/Terminate a color tag. More...
Macros | |
#define | COLOR_ON '\1' |
Escape character (ON). More... | |
#define | COLOR_OFF '\2' |
Escape character (OFF). More... | |
#define | COLOR_ESC '\3' |
Escape character (Quote next character). More... | |
#define | COLOR_INV '\4' |
Escape character (Inverse foreground and background colors). More... | |
#define | SCOLOR_ON "\1" |
Escape character (ON) | |
#define | SCOLOR_OFF "\2" |
Escape character (OFF) | |
#define | SCOLOR_ESC "\3" |
Escape character (Quote next character) | |
#define | SCOLOR_INV "\4" |
Escape character (Inverse colors) | |
Functions | |
THREAD_SAFE bool | requires_color_esc (char c) |
Is the given char a color escape character? | |
Detailed Description
Initiate/Terminate a color tag.
Macro Definition Documentation
◆ COLOR_ON
#define COLOR_ON '\1' |
Escape character (ON).
Followed by a color code (color_t).
◆ COLOR_OFF
#define COLOR_OFF '\2' |
Escape character (OFF).
Followed by a color code (color_t).
◆ COLOR_ESC
#define COLOR_ESC '\3' |
Escape character (Quote next character).
This is needed to output '\1' and '\2' characters.
◆ COLOR_INV
Generated by 1.9.3