diff options
author | Aurélien Aptel <aurelien.aptel@gmail.com> | 2009-05-14 00:28:10 +0200 |
---|---|---|
committer | Aurélien Aptel <aurelien.aptel@gmail.com> | 2009-05-14 00:28:10 +0200 |
commit | 0ecfcc39b07bb7cca6a688a743299e6ef990e122 (patch) | |
tree | af05ad44a409c723bc20a504ffb6cf8249569260 /st.c | |
parent | abe6f3b0e4a76ff80315cf6e958549e8295737d6 (diff) | |
download | st-0ecfcc39b07bb7cca6a688a743299e6ef990e122.tar.gz st-0ecfcc39b07bb7cca6a688a743299e6ef990e122.zip |
removed truecolor stuff
Diffstat (limited to 'st.c')
-rw-r--r-- | st.c | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -364,21 +364,6 @@ void | |||
364 | tsetattr(int *attr, int l) { | 364 | tsetattr(int *attr, int l) { |
365 | int i; | 365 | int i; |
366 | 366 | ||
367 | #ifdef TRUECOLOR /* ESC [ ? <fg/bg> ; <r> ; <g> ; <b> m */ | ||
368 | Color col; | ||
369 | if(escseq.priv && escseq.len == 4) { /* True color extension :) */ | ||
370 | col = (escseq.arg[1]<<16) + (escseq.arg[2]<<8) + escseq.arg[3]; | ||
371 | switch(escseq.arg[0]) { | ||
372 | case 3: /* foreground */ | ||
373 | term.c.attr.fg = col; | ||
374 | break; | ||
375 | case 4: /* background */ | ||
376 | term.c.attr.bg = col; | ||
377 | break; | ||
378 | } | ||
379 | } | ||
380 | else | ||
381 | #endif | ||
382 | for(i = 0; i < l; i++) { | 367 | for(i = 0; i < l; i++) { |
383 | switch(attr[i]) { | 368 | switch(attr[i]) { |
384 | case 0: | 369 | case 0: |