T_VT100.H

LIB3/OBJ/HANDLERS/TERM_TYP/T_VT100.H · 1.0 KB

From the archive nm4dos.zip

Download the archive   « Back to the archive contents

/*
#define ANSI(p) sprintf("%c["+(p)+"m", 27)
#define ESC(p) sprintf("%c"+(p), 27)
*/
 
#define T_VT100   "vt100" :\
               ([ "RESET" : ANSI("0;37;40"),\
                  "BOLD" : ANSI(7),\
                  "FLASH" : ANSI(5),\
                  "BLACK" : "",\
                  "RED" : ANSI(1),\
                  "GREEN" : ANSI(4),\
                  "ORANGE" : ANSI(1),\
                  "YELLOW" : ANSI(1),\
                  "BLUE" : ANSI(4),\
                  "CYAN" : ANSI(4),\
                  "MAGENTA" : ANSI(4),\
                  "BLACK" : "",\
                  "WHITE" : ANSI(1),\
                  "B_RED" : "",\
                  "B_GREEN" : "",\
                  "B_ORANGE" : "",\
                  "B_YELLOW" : "",\
                  "B_BLUE" : "",\
                  "B_CYAN" : "",\
                  "B_BLACK" : "",\
                  "B_WHITE" : "",\
                  "B_MAGENTA" : "",\
                  "STATUS" : "",\
                  "WINDOW" : "\n",\
                  "INITTERM" : "",\
                  "ENDTERM" : "", ])
 

Site Stats

Snippets: 1791
Codebases: 571