mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-07-28 11:36:34 +00:00
core: support OSC 9 and OSC 777 for showing desktop notifications
This commit is contained in:
@@ -45,6 +45,15 @@ pub const Message = union(enum) {
|
||||
/// The child process running in the surface has exited. This may trigger
|
||||
/// a surface close, it may not.
|
||||
child_exited: void,
|
||||
|
||||
/// Show a desktop notification.
|
||||
desktop_notification: struct {
|
||||
/// Desktop notification title.
|
||||
title: WriteReq,
|
||||
|
||||
/// Desktop notification body.
|
||||
body: WriteReq,
|
||||
},
|
||||
};
|
||||
|
||||
/// A surface mailbox.
|
||||
|
||||
Reference in New Issue
Block a user