![]() |
libghostty
|
#include <ghostty/vt/selection.h>
Data Fields | |
| GhosttySelection * | ptr |
| size_t | cap |
| size_t | len |
A caller-provided buffer of selections.
This follows the same conventions as GhosttyBuffer: ptr may be NULL with cap 0 to query the required capacity. APIs that fill this type set len to the number of entries written on GHOSTTY_SUCCESS, or to the required entry capacity on GHOSTTY_OUT_OF_SPACE.
Definition at line 129 of file selection.h.
| size_t cap |
Capacity of ptr in entries.
Definition at line 135 of file selection.h.
| size_t len |
Entries written on success, or required entry capacity on GHOSTTY_OUT_OF_SPACE.
Definition at line 139 of file selection.h.
| GhosttySelection* ptr |
Destination buffer for selections. May be NULL when cap is 0 to query the required capacity.
Definition at line 132 of file selection.h.