libghostty
Loading...
Searching...
No Matches
GhosttyTerminalDesktopNotification Struct Reference

#include <ghostty/vt/terminal.h>

Data Fields

size_t size
GhosttyString title
GhosttyString body

Detailed Description

A request to show a desktop notification.

This is a sized struct. The callback must only access fields present in the size reported by size. Both strings are borrowed and valid only for the duration of the callback.

Definition at line 822 of file terminal.h.

Field Documentation

◆ body

Notification body.

Definition at line 830 of file terminal.h.

◆ size

size_t size

Size of this struct in bytes.

Definition at line 824 of file terminal.h.

◆ title

Notification title, or an empty string when the protocol omits it.

Definition at line 827 of file terminal.h.


The documentation for this struct was generated from the following file: