diff options
author | nicm <nicm> | 2023-01-06 07:09:27 +0000 |
---|---|---|
committer | nicm <nicm> | 2023-01-06 07:09:27 +0000 |
commit | 09afc6c8ee971918d925c441c41a9de7f598efb7 (patch) | |
tree | 790231afa3b8ae46b4b7dc13a925a23c0dc5dfdc /tmux-protocol.h | |
parent | a41a92744188ec5c8a8d4ddc100ec15b52d04603 (diff) | |
download | rtmux-09afc6c8ee971918d925c441c41a9de7f598efb7.tar.gz rtmux-09afc6c8ee971918d925c441c41a9de7f598efb7.tar.bz2 rtmux-09afc6c8ee971918d925c441c41a9de7f598efb7.zip |
If a pane is killed, cancel reading from the file. GitHub issue 3422.
Diffstat (limited to 'tmux-protocol.h')
-rw-r--r-- | tmux-protocol.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tmux-protocol.h b/tmux-protocol.h index 08422291..3cf00c09 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; |