From bb45edc83d12396ff754d4687904c65bf93ec3f0 Mon Sep 17 00:00:00 2001 From: Raheman Vaiya Date: Sun, 26 Dec 2021 18:57:04 +0100 Subject: Add support for OSC color sequences --- st.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'st.h') diff --git a/st.h b/st.h index 99c14f2..2feb8c3 100644 --- a/st.h +++ b/st.h @@ -113,6 +113,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; @@ -126,3 +128,4 @@ extern unsigned int tabspaces; extern unsigned int defaultfg; extern unsigned int defaultbg; extern float alpha; +extern unsigned int defaultcs; -- cgit v1.2.3