raw property

VtRowSnapshot get raw

The raw metadata snapshot for this row.

Implementation

VtRowSnapshot get raw {
  final out = calloc<bindings.GhosttyRow>();
  try {
    _checkResult(
      bindings.ghostty_render_state_row_get(
        _handle,
        bindings.GhosttyRenderStateRowData.GHOSTTY_RENDER_STATE_ROW_DATA_RAW,
        out.cast(),
      ),
      'ghostty_render_state_row_get',
    );
    return VtRowSnapshot.fromRaw(out.value);
  } finally {
    calloc.free(out);
  }
}