mirror of
https://github.com/tmux/tmux.git
synced 2026-10-10 12:14:43 +00:00
If writing a file fails, propagate the error to the server via a new
message. Use a client flag rather than bumping the protocol version. GitHub issue 5451.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: tmux-protocol.h,v 1.2 2023/01/06 07:09:27 nicm Exp $ */
|
||||
/* $OpenBSD: tmux-protocol.h,v 1.3 2026/08/17 07:56:56 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2021 Nicholas Marriott <nicholas.marriott@gmail.com>
|
||||
@@ -67,7 +67,8 @@ enum msgtype {
|
||||
MSG_WRITE,
|
||||
MSG_WRITE_READY,
|
||||
MSG_WRITE_CLOSE,
|
||||
MSG_READ_CANCEL
|
||||
MSG_READ_CANCEL,
|
||||
MSG_WRITE_DONE
|
||||
};
|
||||
|
||||
/*
|
||||
@@ -116,4 +117,9 @@ struct msg_write_close {
|
||||
int stream;
|
||||
};
|
||||
|
||||
struct msg_write_done {
|
||||
int stream;
|
||||
int error;
|
||||
};
|
||||
|
||||
#endif /* TMUX_PROTOCOL_H */
|
||||
|
||||
Reference in New Issue
Block a user