Skip to main content

MAX_PARAMS

Constant MAX_PARAMS 

Source
pub(crate) const MAX_PARAMS: usize = 16;
Expand description

Maximum number of numeric parameters accepted in one SGR list.

Matches the kernel console’s sequence collector, which caps the raw parameter bytes; longer lists are dropped whole.