mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
csi/input: remove private mode 27127
This effectively reverts commit 31c73f0cf0.
This commit is contained in:
parent
ee840a308a
commit
e32707ffc0
5 changed files with 6 additions and 17 deletions
8
input.c
8
input.c
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue