![]() |
libghostty
|
#include <ghostty/vt/selection.h>
Data Fields | |
| size_t | size |
| GhosttyGridRef | start |
| GhosttyGridRef | end |
| bool | rectangle |
A selection range defined by two grid references.
This is a sized struct. Use GHOSTTY_INIT_SIZED() to initialize it.
Definition at line 33 of file selection.h.
| GhosttyGridRef end |
End of the selection range (inclusive).
Definition at line 41 of file selection.h.
| bool rectangle |
Whether the selection is rectangular (block) rather than linear.
Definition at line 44 of file selection.h.
| size_t size |
Size of this struct in bytes. Must be set to sizeof(GhosttySelection).
Definition at line 35 of file selection.h.
| GhosttyGridRef start |
Start of the selection range (inclusive).
Definition at line 38 of file selection.h.