mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
Ignore internal function keys if they have not got an entry in the key
table.
This commit is contained in:
@ -410,7 +410,7 @@ key_string_lookup_key(key_code key, int with_flags)
|
||||
s = "MouseMoveBorder";
|
||||
goto append;
|
||||
}
|
||||
if (key >= KEYC_USER && key < KEYC_USER + KEYC_NUSER) {
|
||||
if (key >= KEYC_USER && key < KEYC_USER_END) {
|
||||
snprintf(tmp, sizeof tmp, "User%u", (u_int)(key - KEYC_USER));
|
||||
strlcat(out, tmp, sizeof out);
|
||||
goto out;
|
||||
|
Reference in New Issue
Block a user