@nightgrey/ansi
    Preparing search index...

    Interface Code

    ANSI code token

    Represents an ANSI code token. Contains the command and parameters.

    interface Code {
        command: string;
        params: string[];
        pos: number;
        raw: string;
        type: "CSI" | "DCS" | "DEC" | "ESC" | "OSC" | "PRIVATE" | "SGR" | "STRING";
    }

    Hierarchy (View Summary)

    Index

    Properties

    command: string

    Command of the sequence

    m

    params: string[]

    Parameters of the sequence

    [1m

    pos: number

    Position in the input

    raw: string

    Raw text

    type: "CSI" | "DCS" | "DEC" | "ESC" | "OSC" | "PRIVATE" | "SGR" | "STRING"

    Token type