Xinqi Bao's Git
projects
/
st.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
Applying the CBT patch of Roberto Vargas. Thanks.
[st.git]
/
config.def.h
diff --git
a/config.def.h
b/config.def.h
index
f1bd91e
..
047b5d1
100644
(file)
--- a/
config.def.h
+++ b/
config.def.h
@@
-30,15
+30,19
@@
static const char *colorname[] = {
"cyan",
"white",
"cyan",
"white",
- /* more colors can be added to use with DefaultXX */
+ [255] = 0,
+
+ /* more colors can be added after 255 to use with DefaultXX */
"#cccccc",
"#cccccc",
+ "#333333",
};
/* Default colors (colorname index)
};
/* Default colors (colorname index)
- foreground, background, cursor */
-#define DefaultFG 7
-#define DefaultBG 0
-#define DefaultCS 16
+ foreground, background, cursor, unfocused cursor */
+#define DefaultFG 7
+#define DefaultBG 0
+#define DefaultCS 256
+#define DefaultUCS 257
/* Special keys (change & recompile st.info accordingly)
Keep in mind that kpress() in st.c hardcodes some keys.
/* Special keys (change & recompile st.info accordingly)
Keep in mind that kpress() in st.c hardcodes some keys.