aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2013-02-22 07:23:11 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2013-02-22 07:23:11 +0000
commit4c9f9438ff977365394f903b5849611741924b9c (patch)
tree3d7c6b91bc16440dd7650e973cbe33646c1f6d5d /tmux.h
parent8c50f625b0698e35ad183864e3baa4bb8679e0ae (diff)
downloadrtmux-4c9f9438ff977365394f903b5849611741924b9c.tar.gz
rtmux-4c9f9438ff977365394f903b5849611741924b9c.tar.bz2
rtmux-4c9f9438ff977365394f903b5849611741924b9c.zip
Add support for focus notifications when tmux pane changes, based on work by
Aaron Jensen.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index 18e692fe..8c06197c 100644
--- a/tmux.h
+++ b/tmux.h
@@ -665,6 +665,7 @@ struct mode_key_table {
#define MODE_MOUSE_UTF8 0x100
#define MODE_MOUSE_SGR 0x200
#define MODE_BRACKETPASTE 0x400
+#define MODE_FOCUSON 0x800
#define ALL_MOUSE_MODES (MODE_MOUSE_STANDARD|MODE_MOUSE_BUTTON|MODE_MOUSE_ANY)
@@ -926,6 +927,7 @@ struct window_pane {
int flags;
#define PANE_REDRAW 0x1
#define PANE_DROP 0x2
+#define PANE_FOCUSED 0x4
char *cmd;
char *shell;