mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-08-29 10:31:40 +00:00
core: add alias for Kitty desktop notification OSC struct
This commit is contained in:
committed by
Mitchell Hashimoto
parent
301b69df43
commit
9a8e7ae186
@@ -160,7 +160,7 @@ pub const Command = union(Key) {
|
||||
kitty_dnd_protocol: KittyDndProtocol,
|
||||
|
||||
/// Kitty desktop notifications (OSC 99)
|
||||
kitty_desktop_notification: parsers.kitty_desktop_notification.OSC,
|
||||
kitty_desktop_notification: KittyDesktopNotification,
|
||||
|
||||
/// OSC 3008. Hierarchical context signalling (UAPI spec).
|
||||
/// https://uapi-group.org/specifications/specs/osc_context/
|
||||
@@ -172,6 +172,8 @@ pub const Command = union(Key) {
|
||||
|
||||
pub const KittyDndProtocol = parsers.kitty_dnd_protocol.OSC;
|
||||
|
||||
pub const KittyDesktopNotification = parsers.kitty_desktop_notification.OSC;
|
||||
|
||||
pub const Key = LibEnum(
|
||||
lib.target,
|
||||
// NOTE: Order matters, see LibEnum documentation.
|
||||
|
||||
Reference in New Issue
Block a user