![]() |
libghostty
|
#include <ghostty/vt/selection.h>
Data Fields | |
| size_t | size |
| GhosttyGridRef | start |
| GhosttyGridRef | end |
| const uint32_t * | boundary_codepoints |
| size_t | boundary_codepoints_len |
Options for deriving the nearest word selection between two grid references.
This is a sized struct. Use GHOSTTY_INIT_SIZED() to initialize it. 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 153 of file selection.h.
| const uint32_t* boundary_codepoints |
Optional word-boundary codepoints as uint32_t scalar values.
Definition at line 164 of file selection.h.
| size_t boundary_codepoints_len |
Number of entries in boundary_codepoints.
Definition at line 167 of file selection.h.
| GhosttyGridRef end |
Ending grid reference for the inclusive search range.
Definition at line 161 of file selection.h.
| size_t size |
Size of this struct in bytes. Must be set to sizeof(GhosttyTerminalSelectWordBetweenOptions).
Definition at line 155 of file selection.h.
| GhosttyGridRef start |
Starting grid reference for the inclusive search range.
Definition at line 158 of file selection.h.