csi/input: remove private mode 27127

This effectively reverts commit 31c73f0cf0.
This commit is contained in:
Craig Barnes 2022-02-09 20:50:20 +00:00
parent ee840a308a
commit e32707ffc0
5 changed files with 6 additions and 17 deletions

View file

@ -1044,13 +1044,7 @@ legacy_kbd_protocol(struct seat *seat, struct terminal *term,
const size_t count = ctx->utf8.count;
const uint8_t *const utf8 = ctx->utf8.buf;
const struct key_data *keymap;
if (sym == XKB_KEY_Escape && keymap_mods == MOD_NONE && term->modify_escape_key) {
static const struct key_data esc = {.seq = "\033[27;1;27~"};
keymap = &esc;
} else
keymap = keymap_lookup(term, sym, keymap_mods);
const struct key_data *keymap = keymap_lookup(term, sym, keymap_mods);
if (keymap != NULL) {
term_to_slave(term, keymap->seq, strlen(keymap->seq));
return true;