| // MorgenGrauen MUDlib |
| // |
| // ansi.h -- Sequenzen fuer ANSI- und VT100-Terminals |
| // |
| // $Id: ansi.h,v 3.3 2000/02/12 16:18:42 Padreic Exp $ |
| |
| #ifndef _ANSI_ |
| #define _ANSI_ |
| |
| #define ANSI_BOLD "[1m" |
| #define ANSI_UNDERL "[4m" |
| #define ANSI_BLINK "[5m" |
| #define ANSI_INVERS "[7m" |
| |
| #define ANSI_BLACK "[30m" |
| #define ANSI_RED "[31m" |
| #define ANSI_GREEN "[32m" |
| #define ANSI_YELLOW "[33m" |
| #define ANSI_BLUE "[34m" |
| #define ANSI_PURPLE "[35m" |
| #define ANSI_CYAN "[36m" |
| #define ANSI_WHITE "[37m" |
| |
| #define ANSI_BG_BLACK "[40m" |
| #define ANSI_BG_RED "[41m" |
| #define ANSI_BG_GREEN "[42m" |
| #define ANSI_BG_YELLOW "[43m" |
| #define ANSI_BG_BLUE "[44m" |
| #define ANSI_BG_PURPLE "[45m" |
| #define ANSI_BG_CYAN "[46m" |
| #define ANSI_BG_WHITE "[47m" |
| |
| #define ANSI_NORMAL "[0m" |
| |
| #endif |