[hackers] [st] removed truecolor stuff || Aurélien Aptel

From: <hg_AT_suckless.org>
Date: Wed, 13 May 2009 22:36:49 +0000 (UTC)

changeset: 49:7409057d7df7
tag: tip
user: Aurélien Aptel <aurelien.aptel_AT_gmail.com>
date: Thu May 14 00:28:10 2009 +0200
files: st.c
description:
removed truecolor stuff

diff -r 017ee3e01ccc -r 7409057d7df7 st.c
--- a/st.c Thu May 14 00:27:37 2009 +0200
+++ b/st.c Thu May 14 00:28:10 2009 +0200
@@ -364,21 +364,6 @@
 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:
Received on Wed May 13 2009 - 22:36:49 UTC

This archive was generated by hypermail 2.2.0 : Wed May 13 2009 - 22:48:03 UTC