about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2017-07-30 22:53:29 -0400
committerJune McEnroe <june@causal.agency>2017-07-30 22:53:29 -0400
commit68a8d1388cfaba17b8bc145e66773d042fdebe62 (patch)
treea2138dc3e37618480e7e469248e85c0771609156
parentAdd index.html (diff)
downloadtorus-68a8d1388cfaba17b8bc145e66773d042fdebe62.tar.gz
torus-68a8d1388cfaba17b8bc145e66773d042fdebe62.zip
Persist bright across color changes
-rwxr-xr-xclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.c b/client.c
index 3aaa2a0..1e2ea69 100755
--- a/client.c
+++ b/client.c
@@ -54,7 +54,7 @@ static void clientPut(uint8_t color, char cell) {
 static uint8_t inputColor = COLOR_WHITE;
 
 static void colorFg(uint8_t fg) {
-    inputColor = (inputColor & 0xF0) | fg;
+    inputColor = (inputColor & 0xF8) | fg;
 }
 
 static void colorBg(uint8_t bg) {