mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
If a pane is killed, cancel reading from the file. GitHub issue 3422.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user