123456789101112131415161718192021222324252627282930313233343536373839 |
- /* Terminal colors (16 first used in escape sequence) */
- static const char *colorname[] = {
- /* 8 normal colors */
- [0] = "#303030", /* black */
- [1] = "#a43261", /* red */
- [2] = "#b50082", /* green */
- [3] = "#8100b3", /* yellow */
- [4] = "#4316b4", /* blue */
- [5] = "#1e36be", /* magenta */
- [6] = "#0062ae", /* cyan */
- [7] = "#c6c6c6", /* white */
- /* 8 bright colors */
- [8] = "#5e5e5e", /* black */
- [9] = "#ff9fc9", /* red */
- [10] = "#ff6ad5", /* green */
- [11] = "#c774e8", /* yellow */
- [12] = "#ad8cff", /* blue */
- [13] = "#8795e8", /* magenta */
- [14] = "#94d0ff", /* cyan */
- [15] = "#ffffff", /* white */
- [255] = "0,",
- /* special colors */
- [256] = "#100410", /* background */
- //[257] = "#2f76ae", /* foreground */
- [257] = "#ff87ff", /* foreground */
- };
- /*
- * Default colors (colorname index)
- * foreground, background, cursor, reverse cursor
- */
- unsigned int defaultfg = 257;
- unsigned int defaultbg = 256;
- static unsigned int defaultcs = 257;
- static unsigned int defaultrcs = 257;
|