summaryrefslogtreecommitdiff
path: root/seoul256.h
diff options
context:
space:
mode:
Diffstat (limited to 'seoul256.h')
-rw-r--r--seoul256.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/seoul256.h b/seoul256.h
new file mode 100644
index 0000000..fb56852
--- /dev/null
+++ b/seoul256.h
@@ -0,0 +1,40 @@
+/* Terminal colors (16 first used in escape sequence) */
+static const char *colorname[] = {
+
+ /* 8 normal colors */
+ [0] = "#4e4e4e", /* black */
+ [1] = "#af5f5f", /* red */
+ [2] = "#5f885f", /* green */
+ [3] = "#af8760", /* yellow */
+ [4] = "#5f87ae", /* blue */
+ [5] = "#875f87", /* magenta */
+ [6] = "#5f8787", /* cyan */
+ [7] = "#938f8f", /* white */
+
+ /* 8 bright colors */
+ [8] = "#3a3a3a", /* black */
+ [9] = "#870100", /* red */
+ [10] = "#005f00", /* green */
+ [11] = "#d8865f", /* yellow */
+ [12] = "#0087af", /* blue */
+ [13] = "#87025f", /* magenta */
+ [14] = "#008787", /* cyan */
+ [15] = "#3a3a3a", /* white */
+
+ /* special colors */
+ [256] = "#dadada", /* background */
+ [257] = "#4e4e4e", /* foreground */
+ [258] = "#4e4e4e", /* cursor */
+ [259] = "#dadada", /* cursor-inverse */
+
+};
+
+
+/*
+ * Default colors (colorname index)
+ * foreground, background, cursor, reverse cursor
+ */
+unsigned int defaultbg = 256;
+unsigned int defaultfg = 257;
+unsigned int defaultcs = 258;
+unsigned int defaultrcs = 259;
© 2025 Stefan Weigl-Bosker