From ed946dccc76f87064f1b8299b6ea332db9ab6c19 Mon Sep 17 00:00:00 2001 From: nicm Date: Fri, 18 Sep 2020 11:20:59 +0000 Subject: Some other warnings, GitHub issue 2382. --- input-keys.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'input-keys.c') 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)); -- cgit