aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2012-09-12 13:20:10 +0200
committerChristoph Lohmann <20h@r-36.net>2012-09-12 13:20:10 +0200
commit91d32161fc1d16f5b0235f0ffe7b56b4c9c07e45 (patch)
tree0659aad7a06ebac49cca5e717c3543bbf81bd193
parent04b6bee98078412f39aea395509e884c01a4fe14 (diff)
downloadst-91d32161fc1d16f5b0235f0ffe7b56b4c9c07e45.tar.gz
st-91d32161fc1d16f5b0235f0ffe7b56b4c9c07e45.tar.bz2
Make nyancat(1) work. Important release feature!
-rw-r--r--st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/st.c b/st.c
index 5e8cf02..75c6cea 100644
--- a/st.c
+++ b/st.c
@@ -1204,7 +1204,7 @@ tsetattr(int *attr, int l) {
else if(BETWEEN(attr[i], 90, 97))
term.c.attr.fg = attr[i] - 90 + 8;
else if(BETWEEN(attr[i], 100, 107))
- term.c.attr.fg = attr[i] - 100 + 8;
+ term.c.attr.bg = attr[i] - 100 + 8;
else
fprintf(stderr, "erresc(default): gfx attr %d unknown\n", attr[i]), csidump();
break;