GhosttyMode typedef

GhosttyMode = Uint16

A packed 16-bit terminal mode.

Encodes a mode value (bits 0–14) and an ANSI flag (bit 15) into a single 16-bit integer. Use the inline helper functions to construct and inspect modes rather than manipulating bits directly.

Implementation

typedef GhosttyMode = ffi.Uint16;