diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2013-03-24 09:18:17 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2013-03-24 09:18:17 +0000 |
commit | d945039a307ecc91be7f8e9491fbe2f0f917ef1f (patch) | |
tree | 7c27c92657d15273f1402507efe8a51e27c83d1a /usr.bin/tmux/tmux.h | |
parent | d377344a54cf882b09ec17edeb48694cddadafcf (diff) |
Add support for focus notifications when tmux pane changes, based on
work by Aaron Jensen.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r-- | usr.bin/tmux/tmux.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h index 8c210c98281..c654f276e09 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.392 2013/03/22 16:00:26 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.393 2013/03/24 09:18:16 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -669,6 +669,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) @@ -930,6 +931,7 @@ struct window_pane { int flags; #define PANE_REDRAW 0x1 #define PANE_DROP 0x2 +#define PANE_FOCUSED 0x4 char *cmd; char *shell; |