libghostty
Loading...
Searching...
No Matches
GhosttyCellsView Struct Reference

#include <ghostty/vt/screen.h>

Data Fields

const GhosttyCellptr
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 65 of file screen.h.

Field Documentation

◆ len

size_t len

Number of cells.

Definition at line 70 of file screen.h.

◆ ptr

const GhosttyCell* ptr

Pointer to len contiguous cell values.

Definition at line 67 of file screen.h.


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