From 38dad6635b84d5e4a990b94743c7bd127b23502e Mon Sep 17 00:00:00 2001 From: Shokara Date: Fri, 8 May 2020 20:36:25 -0400 Subject: initial payload --- elbaite.stColors | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 elbaite.stColors (limited to 'elbaite.stColors') diff --git a/elbaite.stColors b/elbaite.stColors new file mode 100644 index 0000000..92f9b3d --- /dev/null +++ b/elbaite.stColors @@ -0,0 +1,44 @@ +/* Terminal colors (16 first used in escape sequence) */ +static const char *colorname[] = { + + /* 8 normal colors */ + [0] = "#181411", /* black */ + [1] = "#a63221", /* red */ + [2] = "#768948", /* green */ + [3] = "#d6a22e", /* yellow */ + [4] = "#33658a", /* blue */ + [5] = "#585481", /* magenta */ + [6] = "#599a82", /* cyan */ + [7] = "#9a9a9a", /* white */ + + /* 8 bright colors */ + [8] = "#2b2722", /* black */ + [9] = "#a63221", /* red */ + [10] = "#768948", /* green */ + [11] = "#d6a22e", /* yellow */ + [12] = "#33658a", /* blue */ + [13] = "#7473a3", /* magenta */ + [14] = "#599a82", /* cyan */ + [15] = "#bfbbb6", /* white */ + + /* special colors */ + [256] = "#181411", /* background */ + [257] = "#bfbbb6", /* foreground */ +}; + +/* + * Default colors (colorname index) + * foreground, background, cursor + */ +static unsigned int defaultfg = 257; +static unsigned int defaultbg = 256; +static unsigned int defaultcs = 257; + +/* + * Colors used, when the specific fg == defaultfg. So in reverse mode this + * will reverse too. Another logic would only make the simple feature too + * complex. + */ +static unsigned int defaultitalic = 7; +static unsigned int defaultunderline = 7; + -- cgit v1.2.3