@nightgrey/ansi
    Preparing search index...

    Function execute

    • Execute is a function that "execute" the given escape sequence by writing it to the provided output writer.

      This is syntactic sugar over Writable.write, with the addition of waiting for the output to be actually written.

      Parameters

      • stream: Writable

        The writable stream

      • chunk: string | Uint8Array<ArrayBufferLike>

        The chunk to write

      • encoding: BufferEncoding = "utf8"

        Encoding

      Returns Promise<void>