summaryrefslogtreecommitdiffstats
path: root/tmux-protocol.h
diff options
context:
space:
mode:
Diffstat (limited to 'tmux-protocol.h')
-rw-r--r--tmux-protocol.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/tmux-protocol.h b/tmux-protocol.h
index 0842229..3cf00c0 100644
--- a/tmux-protocol.h
+++ b/tmux-protocol.h
@@ -66,7 +66,8 @@ enum msgtype {
MSG_WRITE_OPEN,
MSG_WRITE,
MSG_WRITE_READY,
- MSG_WRITE_CLOSE
+ MSG_WRITE_CLOSE,
+ MSG_READ_CANCEL
};
/*
@@ -92,6 +93,10 @@ struct msg_read_done {
int error;
};
+struct msg_read_cancel {
+ int stream;
+};
+
struct msg_write_open {
int stream;
int fd;