Skip to main content

Mode

Type Alias Mode 

Source
pub type Mode = 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.