diff options
author | Thomas Adam <thomas@xteddy.org> | 2020-11-17 10:01:22 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2020-11-17 10:01:22 +0000 |
commit | 3ee1addbb97fdbe3b7dc9f3c5a79c65c9595d449 (patch) | |
tree | 036aaf4b9fbfd6d2cc54e06dade35020eee7ec97 | |
parent | e94bd5ccff42361788e71acb2315b9b10112cae1 (diff) | |
parent | 0d28ee927421c46315bc0b47b5f8f49a8392efa4 (diff) | |
download | rtmux-3ee1addbb97fdbe3b7dc9f3c5a79c65c9595d449.tar.gz rtmux-3ee1addbb97fdbe3b7dc9f3c5a79c65c9595d449.tar.bz2 rtmux-3ee1addbb97fdbe3b7dc9f3c5a79c65c9595d449.zip |
Merge branch 'obsd-master' into master
-rw-r--r-- | input-keys.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/input-keys.c b/input-keys.c index 32ca4b97..39a72cdc 100644 --- a/input-keys.c +++ b/input-keys.c @@ -329,7 +329,8 @@ static struct input_key_entry input_key_defaults[] = { .data = "\033[2;_~" }, { .key = KEYC_DC|KEYC_BUILD_MODIFIERS, - .data = "\033[3;_~" } + .data = "\033[3;_~" + } }; static const key_code input_key_modifiers[] = { 0, @@ -556,7 +557,7 @@ input_key(struct screen *s, struct bufferevent *bev, key_code key) modifier = '8'; break; default: - fatalx("invalid key modifiers: %llx", key); + goto missing; } xsnprintf(tmp, sizeof tmp, "\033[%llu;%cu", outkey, modifier); bufferevent_write(bev, tmp, strlen(tmp)); |