Skip to main content

GhosttyMode

Type Alias GhosttyMode 

Source
pub type GhosttyMode = u16;
Expand description

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.