diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2013-03-06 09:57:26 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2013-03-06 09:57:26 +0000 |
commit | 7fd4d49d562d2f57e21d9198bc28914891478f7c (patch) | |
tree | f2d8f5426bea3478e4422cd878752787b08b314f /tmux.h | |
parent | ec75f9d1a36b6f46e7ec6597d295f113c4aa12b3 (diff) | |
download | rtmux-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.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |