diff options
author | nicm <nicm> | 2020-09-18 11:20:59 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-09-18 11:20:59 +0000 |
commit | ed946dccc76f87064f1b8299b6ea332db9ab6c19 (patch) | |
tree | 6d0ef4fa6c21db353c7bc7d0593b17e0ffab1231 /input-keys.c | |
parent | 3206869ea5cbcf0caa9e62ec11edb170aae2cf27 (diff) | |
download | rtmux-ed946dccc76f87064f1b8299b6ea332db9ab6c19.tar.gz rtmux-ed946dccc76f87064f1b8299b6ea332db9ab6c19.tar.bz2 rtmux-ed946dccc76f87064f1b8299b6ea332db9ab6c19.zip |
Some other warnings, GitHub issue 2382.
Diffstat (limited to 'input-keys.c')
-rw-r--r-- | input-keys.c | 2 |
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)); |