Add paste-buffer-deleted notification and fix name of paste-buffer-changed.

This commit is contained in:
nicm
2022-10-28 13:00:02 +00:00
parent c2580cfe24
commit 8edece2cdb
6 changed files with 36 additions and 21 deletions

3
tmux.h
View File

@ -2163,7 +2163,7 @@ void notify_winlink(const char *, struct winlink *);
void notify_session_window(const char *, struct session *, struct window *);
void notify_window(const char *, struct window *);
void notify_pane(const char *, struct window_pane *);
void notify_paste_buffer(const char *);
void notify_paste_buffer(const char *, int);
/* options.c */
struct options *options_create(struct options *);
@ -3185,6 +3185,7 @@ void control_notify_session_created(struct session *);
void control_notify_session_closed(struct session *);
void control_notify_session_window_changed(struct session *);
void control_notify_paste_buffer_changed(const char *);
void control_notify_paste_buffer_deleted(const char *);
/* session.c */
extern struct sessions sessions;