about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2017-07-30 22:53:29 -0400
committerJune McEnroe <programble@gmail.com>2017-07-30 22:53:29 -0400
commit6fafc3028bfa32d73fb5220498e78d0712efbb98 (patch)
tree794f125b6e4f29fff95de09c3592e8a4b63d57b2
parentAdd index.html (diff)
downloadtorus-6fafc3028bfa32d73fb5220498e78d0712efbb98.tar.gz
torus-6fafc3028bfa32d73fb5220498e78d0712efbb98.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) {