aboutsummaryrefslogtreecommitdiff
path: root/st.h
diff options
context:
space:
mode:
authorRaheman Vaiya <r.vaiya@gmail.com>2021-12-26 18:57:04 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2021-12-26 18:57:44 +0100
commit8e310303903792c010d03c046ba75f8b18f7d3a7 (patch)
treef634e71e556b312e64ed1cc9ddd5b1e3fb3ced71 /st.h
parent2f6e597ed871cff91c627850d03152cae5f45779 (diff)
downloadst-8e310303903792c010d03c046ba75f8b18f7d3a7.tar.gz
st-8e310303903792c010d03c046ba75f8b18f7d3a7.tar.bz2
st-8e310303903792c010d03c046ba75f8b18f7d3a7.zip
Add support for OSC color sequences
Diffstat (limited to 'st.h')
-rw-r--r--st.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/st.h b/st.h
index fa2eddf..519b9bd 100644
--- a/st.h
+++ b/st.h
@@ -111,6 +111,8 @@ void *xmalloc(size_t);
void *xrealloc(void *, size_t);
char *xstrdup(const char *);
+int xgetcolor(int x, unsigned char *r, unsigned char *g, unsigned char *b);
+
/* config.h globals */
extern char *utmp;
extern char *scroll;
@@ -123,3 +125,4 @@ extern char *termname;
extern unsigned int tabspaces;
extern unsigned int defaultfg;
extern unsigned int defaultbg;
+extern unsigned int defaultcs;