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

#include <ghostty/vt/render.h>

Data Fields

uint64_t bits [2]

Detailed Description

The identity of a row across render state updates.

Treat this value as opaque. Two ids are the same when both words are equal. No other comparison or interpretation is meaningful, and the contents may change between library versions. A zero-initialized id is never valid, so it can be used to mean "no row".

bool same = a.bits[0] == b.bits[0] && a.bits[1] == b.bits[1];

See Row identity for how to use ids.

Definition at line 95 of file render.h.

Field Documentation

◆ bits

uint64_t bits[2]

Opaque id data. Compare both words for equality.

Definition at line 97 of file render.h.


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