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

    Function renderGauge

    • Renders a deterministic, single-line bounded gauge.

      This renderer is framework-independent and does not import Blessed. It clamps values into the configured range, renders a fixed-width track, and appends the first matching threshold label as plain text so the state remains visible without terminal color.

      Parameters

      Returns string

      Plain terminal text without ANSI sequences or Blessed tags.

      RangeError Thrown for invalid dimensions, non-finite values, invalid ranges, or invalid threshold ranges.