diff options
author | nicm <nicm> | 2020-04-14 06:00:52 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-04-14 06:00:52 +0000 |
commit | 63ec7918542a36ac9afa60b2e91f75337c5a91ff (patch) | |
tree | 2db8afeeaa9aef3734b0cbed62f423d690c09ab4 /tmux.h | |
parent | fc83517913c8280c222a6cf78ca7fb8053421b37 (diff) | |
download | rtmux-63ec7918542a36ac9afa60b2e91f75337c5a91ff.tar.gz rtmux-63ec7918542a36ac9afa60b2e91f75337c5a91ff.tar.bz2 rtmux-63ec7918542a36ac9afa60b2e91f75337c5a91ff.zip |
Provide an accessor for the running queue item and use it to not let
hooks recurse.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2132,6 +2132,7 @@ void cmdq_insert_hook(struct session *, struct cmdq_item *, struct cmd_find_state *, const char *, ...); void cmdq_continue(struct cmdq_item *); u_int cmdq_next(struct client *); +struct cmdq_item *cmdq_running(struct client *); void cmdq_guard(struct cmdq_item *, const char *, int); void printflike(2, 3) cmdq_print(struct cmdq_item *, const char *, ...); void printflike(2, 3) cmdq_error(struct cmdq_item *, const char *, ...); |