Add set-hook -R to run a hook immediately (useful to set multiple hooks

to the same thing).
This commit is contained in:
nicm
2018-07-04 12:30:52 +00:00
parent d254293a6d
commit cc743dc296
4 changed files with 42 additions and 12 deletions

1
tmux.h
View File

@ -1594,6 +1594,7 @@ void printflike(4, 5) hooks_insert(struct hooks *, struct cmdq_item *,
struct cmd_find_state *, const char *, ...);
/* notify.c */
void notify_hook(struct cmdq_item *, const char *);
void notify_input(struct window_pane *, struct evbuffer *);
void notify_client(const char *, struct client *);
void notify_session(const char *, struct session *);