mirror of
https://github.com/tmux/tmux.git
synced 2025-09-04 23:56:58 +00:00
Handle focus events from the terminal, from Aaron Jensen.
This commit is contained in:
4
tmux.h
4
tmux.h
@ -237,6 +237,9 @@ enum key_code {
|
||||
KEYC_KP_ENTER,
|
||||
KEYC_KP_ZERO,
|
||||
KEYC_KP_PERIOD,
|
||||
|
||||
KEYC_FOCUS_IN,
|
||||
KEYC_FOCUS_OUT,
|
||||
};
|
||||
|
||||
/* Termcap codes. */
|
||||
@ -1316,6 +1319,7 @@ struct client {
|
||||
#define CLIENT_READONLY 0x800
|
||||
#define CLIENT_REDRAWWINDOW 0x1000
|
||||
#define CLIENT_CONTROL 0x2000
|
||||
#define CLIENT_FOCUSED 0x4000
|
||||
int flags;
|
||||
|
||||
struct event identify_timer;
|
||||
|
Reference in New Issue
Block a user