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
commitd47cceb793c5932ab752bf5db46be43729f99e8c (patch)
tree6c76f8950c1e06fec4a46b3093e39602d0658b03
parentSupport CP437 in merge (diff)
downloadtorus-d47cceb793c5932ab752bf5db46be43729f99e8c.tar.gz
torus-d47cceb793c5932ab752bf5db46be43729f99e8c.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 dec86a9..44eb904 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);