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

#include <ghostty/vt/terminal.h>

Data Fields

GhosttyString mime
GhosttyString data

Detailed Description

One MIME representation in a clipboard write.

Both strings are borrowed and valid only for the duration of the callback. The data is binary-safe and has already been decoded from any protocol-level encoding. A zero-length data string is an explicit empty representation; it does not clear the clipboard.

This struct has a frozen layout and will not gain fields in future versions.

Definition at line 363 of file terminal.h.

Field Documentation

◆ data

Decoded, binary-safe representation data.

Definition at line 368 of file terminal.h.

◆ mime

MIME type of the representation.

Definition at line 365 of file terminal.h.


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