about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-08-26 17:59:39 -0400
committerJune McEnroe <june@causal.agency>2018-08-26 17:59:39 -0400
commit785b737910362f4362a35dbc3963c188cf295fbc (patch)
treef8b8ebfd3c08654ca9ba0fe3174666cf387a91e9
parentAdd line mode (diff)
downloadtorus-785b737910362f4362a35dbc3963c188cf295fbc.tar.gz
torus-785b737910362f4362a35dbc3963c188cf295fbc.zip
Leave line mode with .
-rw-r--r--client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.c b/client.c
index 411ef81..29e1cce 100644
--- a/client.c
+++ b/client.c
@@ -621,7 +621,7 @@ static void inputLine(bool keyCode, wchar_t ch) {
 		}
 	} else {
 		switch (ch) {
-			break; case ESC: modeNormal(); return;
+			break; case ESC: case '.': modeNormal(); return;
 			break; case 'h': dx = -1;
 			break; case 'l': dx =  1;
 			break; case 'k': dy = -1;