mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Ignore internal function keys if they have not got an entry in the key
table.
This commit is contained in:
3
tmux.h
3
tmux.h
@ -125,6 +125,7 @@ struct winlink;
|
||||
*/
|
||||
#define KEYC_BASE 0x0000000010e000ULL
|
||||
#define KEYC_USER 0x0000000010f000ULL
|
||||
#define KEYC_USER_END (KEYC_USER + KEYC_NUSER)
|
||||
|
||||
/* Key modifier bits. */
|
||||
#define KEYC_META 0x00100000000000ULL
|
||||
@ -159,7 +160,7 @@ struct winlink;
|
||||
(((key) & KEYC_MASK_KEY) < KEYC_BASE || \
|
||||
((key) & KEYC_MASK_KEY) >= KEYC_BASE_END) && \
|
||||
(((key) & KEYC_MASK_KEY) < KEYC_USER || \
|
||||
((key) & KEYC_MASK_KEY) >= KEYC_USER + KEYC_NUSER))
|
||||
((key) & KEYC_MASK_KEY) >= KEYC_USER_END))
|
||||
|
||||
/* Multiple click timeout. */
|
||||
#define KEYC_CLICK_TIMEOUT 300
|
||||
|
Reference in New Issue
Block a user