libghostty-vt 0.0.0
Loading...
Searching...
No Matches
GhosttyTerminalDesktopNotification Struct Reference

#include <ghostty/vt/terminal.h>

Data Fields

GhosttyString title
GhosttyString body

Detailed Description

A request to show a desktop notification.

Both strings are borrowed and only valid until the callback returns. Copy them if you need them later.

This struct has a frozen layout and will never gain fields. It is 32 bytes on 64-bit targets and 16 bytes on wasm32. If a later version of libghostty-vt has more to report, it will add a new option with a new struct, and this callback will keep receiving this struct unchanged.

Definition at line 1157 of file terminal.h.

Field Documentation

◆ body

Notification body.

Definition at line 1162 of file terminal.h.

◆ title

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

Definition at line 1159 of file terminal.h.


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