![]() |
libghostty-vt 0.0.0
|
#include <ghostty/vt/selection.h>
Data Fields | |
| size_t | size |
| GhosttyGridRef | ref |
| const uint32_t * | boundary_codepoints |
| size_t | boundary_codepoints_len |
Options for deriving a word selection from a terminal grid reference.
This is a sized struct. Initialize it with GHOSTTY_INIT_SIZED(), then set the fields you need. See Sized Structs.
If boundary_codepoints is NULL and boundary_codepoints_len is 0, Ghostty's default word-boundary codepoints are used. If boundary_codepoints_len is non-zero, boundary_codepoints must not be NULL.
Definition at line 167 of file selection.h.
| const uint32_t* boundary_codepoints |
Optional word-boundary codepoints as uint32_t scalar values.
Definition at line 175 of file selection.h.
| size_t boundary_codepoints_len |
Number of entries in boundary_codepoints.
Definition at line 178 of file selection.h.
| GhosttyGridRef ref |
Grid reference under which to derive the word selection.
Definition at line 172 of file selection.h.
| size_t size |
Size of this struct in bytes. Must be set to sizeof(GhosttyTerminalSelectWordOptions).
Definition at line 169 of file selection.h.