Make nyancat(1) work. Important release feature! - st - simple terminal
HTML git clone https://git.parazyd.org/st
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 8f1144edee8f4c9ac54faae2ad522544e9e217fa
DIR parent 121d9109e8202aaa8df836f2d23922008bdf2c72
HTML Author: Christoph Lohmann <20h@r-36.net>
Date: Wed, 12 Sep 2012 13:20:10 +0200
Make nyancat(1) work. Important release feature!
Diffstat:
M st.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git 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;