From 0ecfcc39b07bb7cca6a688a743299e6ef990e122 Mon Sep 17 00:00:00 2001 From: Aurélien Aptel Date: Thu, 14 May 2009 00:28:10 +0200 Subject: removed truecolor stuff --- st.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'st.c') 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 [ ? ; ; ; 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: -- cgit v1.2.3-13-gbd6f