/* Terminal colors (16 first used in escape sequence) */ static const char *colorname[] = { /* 8 normal colors */ "#222222", "#DD3344", "#22DD55", "#DDEE44", "#33AAFF", "#CC44BB", "#44CCDD", "#EEEEEE", /* 8 bright colors */ "#444444", "#FF5566", "#44FF77", "#FFFF77", "#66CCFF", "#EE66DD", "#66EEFF", "#FFFFFF", [255] = 0, /* more colors can be added after 255 to use with DefaultXX */ "#111111", }; /* * Default colors (colorname index) * foreground, background, cursor */ static unsigned int defaultfg = 15; static unsigned int defaultbg = 256; static unsigned int defaultcs = 2;