aboutsummaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authorAurélien Aptel <aurelien.aptel@gmail.com>2009-05-14 00:28:10 +0200
committerAurélien Aptel <aurelien.aptel@gmail.com>2009-05-14 00:28:10 +0200
commit28abdd24c728b88e3ed9028d798a036a5ae87e32 (patch)
treeaf05ad44a409c723bc20a504ffb6cf8249569260 /st.c
parentf806677a0bf21b7e06cbccb54f89961531d75906 (diff)
downloadst-28abdd24c728b88e3ed9028d798a036a5ae87e32.tar.gz
st-28abdd24c728b88e3ed9028d798a036a5ae87e32.tar.bz2
removed truecolor stuff
Diffstat (limited to 'st.c')
-rw-r--r--st.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/st.c b/st.c
index 2318435..ef0fd17 100644
--- a/st.c
+++ b/st.c
@@ -364,21 +364,6 @@ void
tsetattr(int *attr, int l) {
int i;
-#ifdef TRUECOLOR /* ESC [ ? <fg/bg> ; <r> ; <g> ; <b> m */
- Color col;
- if(escseq.priv && escseq.len == 4) { /* True color extension :) */
- col = (escseq.arg[1]<<16) + (escseq.arg[2]<<8) + escseq.arg[3];
- switch(escseq.arg[0]) {
- case 3: /* foreground */
- term.c.attr.fg = col;
- break;
- case 4: /* background */
- term.c.attr.bg = col;
- break;
- }
- }
- else
-#endif
for(i = 0; i < l; i++) {
switch(attr[i]) {
case 0: