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

#include <ghostty/vt/types.h>

Data Fields

const uint8_t * ptr
size_t len

Detailed Description

A borrowed byte string (pointer + length).

The memory is not owned by this struct. The pointer is only valid for the lifetime documented by the API that produces or consumes it. Empty strings produced by the library have a non-NULL pointer to valid storage.

Examples
c-vt-build-info/src/main.c, c-vt-kitty-graphics/src/main.c, c-vt-osc/src/main.c, c-vt-paste/src/main.c, c-vt-search/src/main.c, and c-vt-static/src/main.c.

Definition at line 439 of file types.h.

Field Documentation

◆ len

◆ ptr

const uint8_t* ptr

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