aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorAurélien Aptel <aurelien.aptel@gmail.com>2012-02-16 00:10:32 +0100
committerAurélien Aptel <aurelien.aptel@gmail.com>2012-02-16 00:10:32 +0100
commit751fb765e4f26ce1500b4e8ee9f4cd5b6039b495 (patch)
tree88fe375523dfb13e52ee17ea77bd0e7960cc04f8 /config.def.h
parentbe2877cd042eaf5d0f7dda102f526357aa577232 (diff)
downloadst-751fb765e4f26ce1500b4e8ee9f4cd5b6039b495.tar.gz
st-751fb765e4f26ce1500b4e8ee9f4cd5b6039b495.zip
fix default color overwriten bug.
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/config.def.h b/config.def.h
index 169bcdd..047b5d1 100644
--- a/config.def.h
+++ b/config.def.h
@@ -30,7 +30,9 @@ static const char *colorname[] = {
30 "cyan", 30 "cyan",
31 "white", 31 "white",
32 32
33 /* more colors can be added to use with DefaultXX */ 33 [255] = 0,
34
35 /* more colors can be added after 255 to use with DefaultXX */
34 "#cccccc", 36 "#cccccc",
35 "#333333", 37 "#333333",
36}; 38};
@@ -39,8 +41,8 @@ static const char *colorname[] = {
39 foreground, background, cursor, unfocused cursor */ 41 foreground, background, cursor, unfocused cursor */
40#define DefaultFG 7 42#define DefaultFG 7
41#define DefaultBG 0 43#define DefaultBG 0
42#define DefaultCS 16 44#define DefaultCS 256
43#define DefaultUCS 17 45#define DefaultUCS 257
44 46
45/* Special keys (change & recompile st.info accordingly) 47/* Special keys (change & recompile st.info accordingly)
46 Keep in mind that kpress() in st.c hardcodes some keys. 48 Keep in mind that kpress() in st.c hardcodes some keys.