@nightgrey/ansi
    Preparing search index...

    Variable setModeConst

    setMode: (...modes: Mode[]) => `[${string}h` | `[?${string}h` = Mode.set

    Type declaration

      • (...modes: Mode[]): `[${string}h` | `[?${string}h`
      • Set mode (SM) returns a sequence to set a mode. The mode arguments are a list of modes to set.

        If one of the modes is a DECMode, the function will return two escape sequences.

        ANSI format:

        CSI Pd ; ... ; Pd h
        

        DEC format:

        CSI ? Pd ; ... ; Pd h
        

        Parameters

        Returns `[${string}h` | `[?${string}h`