aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2013-03-06 09:57:26 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2013-03-06 09:57:26 +0000
commit7fd4d49d562d2f57e21d9198bc28914891478f7c (patch)
treef2d8f5426bea3478e4422cd878752787b08b314f /tmux.h
parentec75f9d1a36b6f46e7ec6597d295f113c4aa12b3 (diff)
downloadrtmux-7fd4d49d562d2f57e21d9198bc28914891478f7c.tar.gz
rtmux-7fd4d49d562d2f57e21d9198bc28914891478f7c.tar.bz2
rtmux-7fd4d49d562d2f57e21d9198bc28914891478f7c.zip
Add a wait-for command which blocks a client on a named channel until it is
wokrn up again (with wait-for -S). From Thiago Padilha.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index c1ad6628..e58c1dec 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1416,6 +1416,8 @@ struct cmd_q {
void *data;
struct msg_command_data *msgdata;
+
+ TAILQ_ENTRY(cmd_q) waitentry;
};
/* Command definition. */
@@ -1835,6 +1837,7 @@ extern const struct cmd_entry cmd_switch_client_entry;
extern const struct cmd_entry cmd_unbind_key_entry;
extern const struct cmd_entry cmd_unlink_window_entry;
extern const struct cmd_entry cmd_up_pane_entry;
+extern const struct cmd_entry cmd_wait_for_entry;
/* cmd-attach-session.c */
enum cmd_retval cmd_attach_session(struct cmd_q *, const char*, int, int);