![]() |
libghostty
|
#include <ghostty/vt/terminal.h>
Data Fields | |
| size_t | size |
| GhosttyClipboardLocation | location |
| const GhosttyClipboardContent * | contents |
| size_t | contents_len |
A semantic, atomic clipboard write.
This is a sized struct. The callback must only access fields present in the size reported by size. The request, contents array, MIME strings, and data strings are all borrowed and valid only for the callback duration.
All entries in contents are representations of the same logical value and must be committed atomically. A contents_len of zero requests that the destination be cleared. This is distinct from a content entry whose data has zero length.
Definition at line 385 of file terminal.h.
| const GhosttyClipboardContent* contents |
Borrowed array of MIME representations.
Definition at line 393 of file terminal.h.
| size_t contents_len |
Number of entries in contents; zero means clear the destination.
Definition at line 396 of file terminal.h.
| GhosttyClipboardLocation location |
Clipboard destination.
Definition at line 390 of file terminal.h.
| size_t size |
Size of this struct in bytes.
Definition at line 387 of file terminal.h.