• Wrap text with dim/faded formatting codes.

    ANSI Sequence: ESC[2m...ESC[0m Purpose: De-emphasize less important information

    Parameters

    • text: string

      Text to format

    Returns string

    Dim-formatted text with reset codes

    Text parameter must be string