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

    Function renderText

    • Renders safe text within optional terminal-cell dimensions.

      The renderer removes ANSI control sequences and Blessed formatting tags so caller content cannot inject terminal styling. Width calculations use grapheme-aware terminal cells, including wide Unicode and emoji.

      Parameters

      Returns string

      Plain text without ANSI sequences or Blessed tags.

      RangeError Thrown when configured dimensions are not non-negative integers, or when wrapping is requested with a zero width.