libghostty
Loading...
Searching...
No Matches
grid_ref.h File Reference
#include <stddef.h>
#include <stdint.h>
#include <ghostty/vt/types.h>
#include <ghostty/vt/screen.h>
#include <ghostty/vt/style.h>

Go to the source code of this file.

Data Structures

struct  GhosttyGridRef

Functions

GhosttyResult ghostty_grid_ref_cell (const GhosttyGridRef *ref, GhosttyCell *out_cell)
GhosttyResult ghostty_grid_ref_row (const GhosttyGridRef *ref, GhosttyRow *out_row)
GhosttyResult ghostty_grid_ref_graphemes (const GhosttyGridRef *ref, uint32_t *buf, size_t buf_len, size_t *out_len)
GhosttyResult ghostty_grid_ref_style (const GhosttyGridRef *ref, GhosttyStyle *out_style)

Detailed Description

Terminal grid reference type for referencing a resolved position in the terminal grid.

Definition in file grid_ref.h.