about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2017-07-30 12:54:45 -0400
committerJune McEnroe <programble@gmail.com>2017-07-30 12:54:45 -0400
commita786aadecc8117c052eb5862394b7e5658f6e503 (patch)
tree7a7c86da7a106fe62f0644d7e5f583ee7085ca84
parentAdd sshd_config (diff)
downloadtorus-a786aadecc8117c052eb5862394b7e5658f6e503.tar.gz
torus-a786aadecc8117c052eb5862394b7e5658f6e503.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;