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
commit555708b1ba5592d7b129ced1354a52817e39ed00 (patch)
tree98dfc13f361a02b86abe91fcdad8ecf3559cef52
parentAdd line mode (diff)
downloadtorus-555708b1ba5592d7b129ced1354a52817e39ed00.tar.gz
torus-555708b1ba5592d7b129ced1354a52817e39ed00.zip
Leave line mode with .
Diffstat (limited to '')
-rw-r--r--client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.c b/client.c
index 1552861..d184455 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;