Skip to main content

MAX_VALUE

Constant MAX_VALUE 

Source
pub const MAX_VALUE: Type = 2147483647;
Expand description

Encode the current cell’s full grapheme cluster as UTF-8 into a caller-provided buffer (GhosttyBuffer).

The base codepoint is encoded first, followed by any extra grapheme codepoints. Returns GHOSTTY_SUCCESS with len=0 when the cell has no text.

If ptr is NULL or cap is too small for a non-empty cell, returns GHOSTTY_OUT_OF_SPACE without writing any bytes and sets len to the required buffer size in bytes.