mirror of
https://github.com/tmux/tmux.git
synced 2026-10-08 02:34:28 +00:00
Fix Kitty key encoding: legacy fallback, F3, case, send-keys drop.
This commit is contained in:
@@ -132,10 +132,13 @@ cmd_send_keys_inject_string(struct cmdq_item *item, struct cmdq_item *after,
|
||||
if (!literal) {
|
||||
key = key_string_lookup_string(s);
|
||||
if (key != KEYC_NONE && key != KEYC_UNKNOWN) {
|
||||
/*
|
||||
* A recognized key name that the pane could not
|
||||
* encode is dropped, not typed as literal text.
|
||||
*/
|
||||
after = cmd_send_keys_inject_key(item, after, args,
|
||||
key);
|
||||
if (after != NULL)
|
||||
return (after);
|
||||
return (after == NULL ? item : after);
|
||||
}
|
||||
literal = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user