blessed-components - v1.20.0
    Preparing search index...

    Function renderLabel

    • 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.

      Parameters

      Returns string

      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.