summaryrefslogtreecommitdiffstats
path: root/input-keys.c
diff options
context:
space:
mode:
authornicm <nicm>2020-09-18 11:20:59 +0000
committernicm <nicm>2020-09-18 11:20:59 +0000
commited946dccc76f87064f1b8299b6ea332db9ab6c19 (patch)
tree6d0ef4fa6c21db353c7bc7d0593b17e0ffab1231 /input-keys.c
parent3206869ea5cbcf0caa9e62ec11edb170aae2cf27 (diff)
Some other warnings, GitHub issue 2382.
Diffstat (limited to 'input-keys.c')
-rw-r--r--input-keys.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/input-keys.c b/input-keys.c
index 938c530f..224bcfa5 100644
--- a/input-keys.c
+++ b/input-keys.c
@@ -556,6 +556,8 @@ input_key(struct screen *s, struct bufferevent *bev, key_code key)
case KEYC_SHIFT|KEYC_META|KEYC_CTRL:
modifier = '8';
break;
+ default:
+ fatalx("invalid key modifiers: %llx", key);
}
xsnprintf(tmp, sizeof tmp, "\033[%llu;%cu", outkey, modifier);
bufferevent_write(bev, tmp, strlen(tmp));