Renders a safe one-line label for controls or values.
This function is framework-independent. Import it from blessed-components/label to keep Blessed outside the module graph.
blessed-components/label
Content, required indicator, suffix, and text layout options.
Plain text without ANSI sequences or Blessed tags.
RangeError Thrown when indicatorGap is invalid, requiredIndicator is empty while required, or configured text dimensions are invalid.
RangeError
indicatorGap
requiredIndicator
Renders a safe one-line label for controls or values.
This function is framework-independent. Import it from
blessed-components/labelto keep Blessed outside the module graph.