libghostty
Toggle main menu visibility
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
16
extern
"C"
{
17
#endif
18
26
37
GHOSTTY_API
void
ghostty_tracked_grid_ref_free
(
GhosttyTrackedGridRef
ref);
38
50
GHOSTTY_API
bool
ghostty_tracked_grid_ref_has_value
(
51
GhosttyTrackedGridRef
ref);
52
79
GHOSTTY_API
GhosttyResult
ghostty_tracked_grid_ref_point
(
80
GhosttyTrackedGridRef
ref,
81
GhosttyPointTag
tag,
82
GhosttyPointCoordinate
*out_point);
83
105
GHOSTTY_API
GhosttyResult
ghostty_tracked_grid_ref_set
(
106
GhosttyTrackedGridRef
ref,
107
GhosttyTerminal
terminal,
108
GhosttyPoint
point);
109
131
GHOSTTY_API
GhosttyResult
ghostty_tracked_grid_ref_snapshot
(
132
GhosttyTrackedGridRef
ref,
133
GhosttyGridRef
*out_ref);
134
135
#ifdef __cplusplus
136
}
137
#endif
138
139
#endif
/* GHOSTTY_VT_GRID_REF_TRACKED_H */
grid_ref.h
ghostty_tracked_grid_ref_snapshot
GHOSTTY_API GhosttyResult ghostty_tracked_grid_ref_snapshot(GhosttyTrackedGridRef ref, GhosttyGridRef *out_ref)
ghostty_tracked_grid_ref_point
GHOSTTY_API GhosttyResult ghostty_tracked_grid_ref_point(GhosttyTrackedGridRef ref, GhosttyPointTag tag, GhosttyPointCoordinate *out_point)
ghostty_tracked_grid_ref_has_value
GHOSTTY_API bool ghostty_tracked_grid_ref_has_value(GhosttyTrackedGridRef ref)
ghostty_tracked_grid_ref_set
GHOSTTY_API GhosttyResult ghostty_tracked_grid_ref_set(GhosttyTrackedGridRef ref, GhosttyTerminal terminal, GhosttyPoint point)
ghostty_tracked_grid_ref_free
GHOSTTY_API void ghostty_tracked_grid_ref_free(GhosttyTrackedGridRef ref)
GhosttyTrackedGridRef
struct GhosttyTrackedGridRefImpl * GhosttyTrackedGridRef
Definition
types.h:138
GhosttyPointTag
GhosttyPointTag
Definition
point.h:47
GhosttyTerminal
struct GhosttyTerminalImpl * GhosttyTerminal
Definition
types.h:119
point.h
GhosttyGridRef
Definition
grid_ref.h:107
GhosttyPointCoordinate
Definition
point.h:32
GhosttyPoint
Definition
point.h:80
types.h
GhosttyResult
GhosttyResult
Definition
types.h:88
include
ghostty
vt
grid_ref_tracked.h
Generated by
1.18.0