aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2020-07-06 12:01:22 +0100
committerThomas Adam <thomas@xteddy.org>2020-07-06 12:01:22 +0100
commitaa4f3a9b3d7f10f7f96bf8be1c2c8706a5990fe5 (patch)
treecd105d43d59238fd725bc56ffb697cddc1728c6d /tmux.h
parentaf820944391c3ee72984ee72e95ae2aaaa3f82db (diff)
parent2aa177d102b573e5802f69885e738e554d350e7e (diff)
downloadrtmux-aa4f3a9b3d7f10f7f96bf8be1c2c8706a5990fe5.tar.gz
rtmux-aa4f3a9b3d7f10f7f96bf8be1c2c8706a5990fe5.tar.bz2
rtmux-aa4f3a9b3d7f10f7f96bf8be1c2c8706a5990fe5.zip
Merge branch 'obsd-master'
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index 867f25e2..8f09d5ca 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1724,6 +1724,15 @@ struct client {
};
TAILQ_HEAD(clients, client);
+/* Control mode subscription type. */
+enum control_sub_type {
+ CONTROL_SUB_SESSION,
+ CONTROL_SUB_PANE,
+ CONTROL_SUB_ALL_PANES,
+ CONTROL_SUB_WINDOW,
+ CONTROL_SUB_ALL_WINDOWS
+};
+
/* Key binding and key table. */
struct key_binding {
key_code key;
@@ -2864,6 +2873,9 @@ void control_reset_offsets(struct client *);
void printflike(2, 3) control_write(struct client *, const char *, ...);
void control_write_output(struct client *, struct window_pane *);
int control_all_done(struct client *);
+void control_add_sub(struct client *, const char *, enum control_sub_type,
+ int, const char *);
+void control_remove_sub(struct client *, const char *);
/* control-notify.c */
void control_notify_input(struct client *, struct window_pane *,