diff options
author | June McEnroe <june@causal.agency> | 2018-08-22 00:49:24 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2018-08-22 00:49:24 -0400 |
commit | 2d3f28fb6a01c30f5179c4cf86e9cef156e8121a (patch) | |
tree | 55742033fc917125ec5c27eb2d74f2c527e0fea2 | |
parent | Implement ` ~ and x (diff) | |
download | torus-2d3f28fb6a01c30f5179c4cf86e9cef156e8121a.tar.gz torus-2d3f28fb6a01c30f5179c4cf86e9cef156e8121a.zip |
Add C-a and C-x
Diffstat (limited to '')
-rw-r--r-- | client.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/client.c b/client.c index 1972be4..6b60cb8 100644 --- a/client.c +++ b/client.c @@ -313,6 +313,13 @@ static void inputNormal(bool keyCode, wchar_t ch) { clientMove(1, 0); } + break; case CTRL('A'): { + clientPut(tile.colors[cellY][cellX], tile.cells[cellY][cellX] + 1); + } + break; case CTRL('X'): { + clientPut(tile.colors[cellY][cellX], tile.cells[cellY][cellX] - 1); + } + break; case CTRL('P'): input.shift -= 0x20; break; case CTRL('N'): input.shift += 0x20; |