Notify when a paste buffer is deleted, GitHub issue 3302 from George

Nachman.
This commit is contained in:
nicm
2022-08-15 09:10:34 +00:00
parent 03149bf7f6
commit 7c2dcd7238
5 changed files with 52 additions and 7 deletions

2
tmux.h
View File

@ -2154,6 +2154,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 *);
/* options.c */
struct options *options_create(struct options *);
@ -3174,6 +3175,7 @@ void control_notify_session_renamed(struct session *);
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 *);
/* session.c */
extern struct sessions sessions;