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

    Function renderBreadcrumb

    • Renders a safe, compact location path.

      This function is framework-independent. Import it from blessed-components/breadcrumb to keep Blessed outside the module graph.

      When width is supplied, the renderer first collapses middle segments to the omission marker. If the collapsed path is still too wide, final fitting is delegated to renderText.

      Parameters

      Returns string

      Plain text without ANSI sequences or Blessed tags.

      RangeError Thrown for empty or multiline labels, an empty separator for multi-segment paths, an empty omission marker, or invalid text dimensions.