csutil/ansicommand.h File Reference
ANSI command codes.
More...
Go to the source code of this file.
Detailed Description
ANSI command codes.
Can be passed to csPrintf() for formating text output.
Definition in file ansicommand.h.
Define Documentation
#define CS_ANSI_BB "\033[44m" |
#define CS_ANSI_BC "\033[46m" |
#define CS_ANSI_BG "\033[42m" |
#define CS_ANSI_BK "\033[40m" |
#define CS_ANSI_BM "\033[45m" |
#define CS_ANSI_BR "\033[41m" |
#define CS_ANSI_BW "\033[47m" |
#define CS_ANSI_BY "\033[43m" |
#define CS_ANSI_CLEAR_LINE "\033[K" |
#define CS_ANSI_CLEAR_SCREEN "\033[J" |
#define CS_ANSI_CURSOR |
( |
x, |
|
|
y |
|
) |
"\033[" #y ";" #x "H" |
#define CS_ANSI_CURSOR_BWD |
( |
c |
|
) |
"\033[" #c "D" |
Move backward specified number of columns.
Definition at line 95 of file ansicommand.h.
#define CS_ANSI_CURSOR_DOWN |
( |
l |
|
) |
"\033[" #l "B" |
Move down specified number of lines.
Definition at line 91 of file ansicommand.h.
#define CS_ANSI_CURSOR_FWD |
( |
c |
|
) |
"\033[" #c "C" |
Move forward specified number of columns.
Definition at line 93 of file ansicommand.h.
#define CS_ANSI_CURSOR_UP |
( |
l |
|
) |
"\033[" #l "A" |
Move up specified number of lines.
Definition at line 89 of file ansicommand.h.
#define CS_ANSI_FB "\033[34m" |
#define CS_ANSI_FC "\033[36m" |
#define CS_ANSI_FG "\033[32m" |
#define CS_ANSI_FK "\033[30m" |
#define CS_ANSI_FM "\033[35m" |
#define CS_ANSI_FR "\033[31m" |
#define CS_ANSI_FW "\033[37m" |
#define CS_ANSI_FY "\033[33m" |
#define CS_ANSI_RST "\033[0m" |
#define CS_ANSI_TEXT_BOLD_OFF "\033[22m" |
Bold or intense foreground text off.
Definition at line 54 of file ansicommand.h.
#define CS_ANSI_TEXT_BOLD_ON "\033[1m" |
Generated for Crystal Space by
doxygen 1.4.7