GhosttyTerminalDesktopNotificationFn typedef

GhosttyTerminalDesktopNotificationFn = Pointer<NativeFunction<GhosttyTerminalDesktopNotificationFnFunction>>

Callback function type for desktop notifications.

Called synchronously when the terminal receives OSC 9 or OSC 777.

@param terminal The terminal handle @param userdata The userdata pointer set via GHOSTTY_TERMINAL_OPT_USERDATA @param notification Borrowed desktop notification request

@ingroup terminal

Implementation

typedef GhosttyTerminalDesktopNotificationFn =
    ffi.Pointer<
      ffi.NativeFunction<GhosttyTerminalDesktopNotificationFnFunction>
    >;