summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2017-07-30 12:54:45 -0400
committerJune McEnroe <june@causal.agency>2017-07-30 12:54:45 -0400
commit5913499e9f2f56a59efd7ba8f7b81968b3f1c398 (patch)
tree0af1372b6ffe24fa2925e5005779f17e45488b45
parentAdd sshd_config (diff)
downloadtorus-5913499e9f2f56a59efd7ba8f7b81968b3f1c398.tar.gz
torus-5913499e9f2f56a59efd7ba8f7b81968b3f1c398.zip
Add ` command
-rwxr-xr-xclient.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/client.c b/client.c
index 775d296..b2a72d5 100755
--- a/client.c
+++ b/client.c
@@ -177,6 +177,8 @@ static void readInput(void) {
         case 'B': swapCell(-1,  1); break;
         case 'N': swapCell( 1,  1); break;
 
+        case '`': clientColor(CH_COLOR(inch())); break;
+
         case '1': clientColor(COLOR_RED); break;
         case '2': clientColor(COLOR_GREEN); break;
         case '3': clientColor(COLOR_YELLOW); break;