Make nyancat(1) work. Important release feature!
This commit is contained in:
parent
121d9109e8
commit
8f1144edee
2
st.c
2
st.c
@ -1204,7 +1204,7 @@ tsetattr(int *attr, int l) {
|
|||||||
else if(BETWEEN(attr[i], 90, 97))
|
else if(BETWEEN(attr[i], 90, 97))
|
||||||
term.c.attr.fg = attr[i] - 90 + 8;
|
term.c.attr.fg = attr[i] - 90 + 8;
|
||||||
else if(BETWEEN(attr[i], 100, 107))
|
else if(BETWEEN(attr[i], 100, 107))
|
||||||
term.c.attr.fg = attr[i] - 100 + 8;
|
term.c.attr.bg = attr[i] - 100 + 8;
|
||||||
else
|
else
|
||||||
fprintf(stderr, "erresc(default): gfx attr %d unknown\n", attr[i]), csidump();
|
fprintf(stderr, "erresc(default): gfx attr %d unknown\n", attr[i]), csidump();
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user