Some other warnings, GitHub issue 2382.

This commit is contained in:
nicm
2020-09-18 11:20:59 +00:00
parent 3206869ea5
commit ed946dccc7
3 changed files with 7 additions and 5 deletions

View File

@ -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));