about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-08-23 12:43:26 -0400
committerJune McEnroe <june@causal.agency>2018-08-23 12:43:26 -0400
commit934942c5f203903530c1f9c69b785fa99dff4873 (patch)
treec84828536813fa7401e9ba8d201ef70ea4e87b4a
parentSupport CP437 in merge (diff)
downloadtorus-934942c5f203903530c1f9c69b785fa99dff4873.tar.gz
torus-934942c5f203903530c1f9c69b785fa99dff4873.zip
Add C-l to redraw
-rw-r--r--client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/client.c b/client.c
index dbe49d6..c7601cd 100644
--- a/client.c
+++ b/client.c
@@ -271,6 +271,8 @@ static void inputKeyCode(wchar_t ch) {
 
 static void inputNormal(wchar_t ch) {
 	switch (ch) {
+		break; case CTRL('L'): clearok(curscr, true);
+
 		break; case ESC: input.mode = MODE_NORMAL; input.shift = 0;
 		break; case 'q': endwin(); exit(EX_OK);