tsargp
    Preparing search index...

    Class AnsiMessage

    The ANSI message. Used as base for other message classes.

    Hierarchy (View Summary)

    Indexable

    Index

    Constructors

    Accessors

    Methods

    Constructors

    • Parameters

      • arrayLength: number

      Returns AnsiMessage

    • Parameters

      Returns AnsiMessage

    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