libghostty
Loading...
Searching...
No Matches
grid_ref_tracked.h
Go to the documentation of this file.
1
6
7#ifndef GHOSTTY_VT_GRID_REF_TRACKED_H
8#define GHOSTTY_VT_GRID_REF_TRACKED_H
9
10#include <stdbool.h>
11#include <ghostty/vt/types.h>
12#include <ghostty/vt/grid_ref.h>
13#include <ghostty/vt/point.h>
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
26
38
52
82 GhosttyPointCoordinate *out_point);
83
107 GhosttyTerminal terminal,
108 GhosttyPoint point);
109
133 GhosttyGridRef *out_ref);
134
135#ifdef __cplusplus
136}
137#endif
138
139#endif /* GHOSTTY_VT_GRID_REF_TRACKED_H */
GHOSTTY_API GhosttyResult ghostty_tracked_grid_ref_snapshot(GhosttyTrackedGridRef ref, GhosttyGridRef *out_ref)
GHOSTTY_API GhosttyResult ghostty_tracked_grid_ref_point(GhosttyTrackedGridRef ref, GhosttyPointTag tag, GhosttyPointCoordinate *out_point)
GHOSTTY_API bool ghostty_tracked_grid_ref_has_value(GhosttyTrackedGridRef ref)
GHOSTTY_API GhosttyResult ghostty_tracked_grid_ref_set(GhosttyTrackedGridRef ref, GhosttyTerminal terminal, GhosttyPoint point)
GHOSTTY_API void ghostty_tracked_grid_ref_free(GhosttyTrackedGridRef ref)
struct GhosttyTrackedGridRefImpl * GhosttyTrackedGridRef
Definition types.h:107
GhosttyPointTag
Definition point.h:45
struct GhosttyTerminalImpl * GhosttyTerminal
Definition types.h:95
GhosttyResult
Definition types.h:74