Xinqi Bao's Git
projects
/
st.git
/ diff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
|
inline
| side by side (parent:
abe6f3b
)
removed truecolor stuff
author
Aurélien Aptel <
[email protected]
>
Wed, 13 May 2009 22:28:10 +0000
(
00:28
+0200)
committer
Aurélien Aptel <
[email protected]
>
Wed, 13 May 2009 22:28:10 +0000
(
00:28
+0200)
st.c
diff
|
blob
|
history
diff --git
a/st.c
b/st.c
index
2318435
..
ef0fd17
100644
(file)
--- a/
st.c
+++ b/
st.c
@@
-364,21
+364,6
@@
void
tsetattr(int *attr, int l) {
int i;
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:
for(i = 0; i < l; i++) {
switch(attr[i]) {
case 0: