Polyman Documentation - v3.1.0
    Preparing search index...

    Function printable

    • Escapes control characters (newlines, ANSI escapes, C1 controls, bidi overrides) so text received from Polygon cannot forge log lines or drive the terminal when it is printed.

      Parameters

      • text: string

        Text received from Polygon, such as an error message

      Returns string

      The text with control characters written as \uXXXX