summaryrefslogtreecommitdiffstats
path: root/input-keys.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2020-09-18 14:01:19 +0100
committerThomas Adam <thomas@xteddy.org>2020-09-18 14:01:19 +0100
commitca5afb34bfdcaddbaed12e7375b48c05019e4c18 (patch)
tree5f841425b93c5b5487b74bfbf26bf20bf2a896cc /input-keys.c
parenteea85fb4c741e6e08df77de414aac124743908ff (diff)
parent88b66e9e28733676b15a996d8fb5cbf66e01bc88 (diff)
Merge branch 'obsd-master'
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 ff402503..32ca4b97 100644
--- a/input-keys.c
+++ b/input-keys.c
@@ -555,6 +555,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));