termio: close surface on process exit

This commit is contained in:
Mitchell Hashimoto
2023-03-18 19:21:28 -07:00
parent 872c1211f5
commit d83bf5aeb4
3 changed files with 27 additions and 10 deletions

View File

@@ -23,6 +23,10 @@ pub const Message = union(enum) {
/// Write the clipboard contents.
clipboard_write: WriteReq,
/// Close the surface. This will only close the current surface that
/// receives this, not the full application.
close: void,
};
/// A surface mailbox.