libghostty-vt 0.0.0
Loading...
Searching...
No Matches
GhosttyCellsView Struct Reference

#include <ghostty/vt/screen.h>

Data Fields

const GhosttyCell * ptr
size_t len

Detailed Description

A borrowed view of contiguous raw cell values.

The memory is not owned by this struct. The pointer is only valid for the lifetime documented by the API that produces it. Each value can be queried via ghostty_cell_get() or decoded using the GhosttyCell packed descriptor returned by ghostty_type_json().

Definition at line 79 of file screen.h.

Field Documentation

◆ len

size_t len

Number of cells.

Definition at line 84 of file screen.h.

◆ ptr

const GhosttyCell* ptr

Pointer to len contiguous cell values.

Definition at line 81 of file screen.h.


The documentation for this struct was generated from the following file: