Class WarnMessage

A warning message.

Hierarchy (View Summary)

Indexable

Constructors

Accessors

Methods

Constructors

Accessors

Methods

  • Wraps the help message to a specified width.

    Parameters

    • width: number = 0

      The terminal width (or zero to avoid wrapping)

    • emitStyles: boolean = ...

      True if styles should be emitted

    • emitSpaces: boolean = ...

      True if spaces should be emitted instead of move sequences

    Returns string

    The message to be printed on a terminal