mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 13:37:12 +00:00
Provide an accessor for the running queue item and use it to not let
hooks recurse.
This commit is contained in:
1
tmux.h
1
tmux.h
@ -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 *, ...);
|
||||
|
Reference in New Issue
Block a user