@nightgrey/ansi
    Preparing search index...

    Variable requestModeConst

    requestMode: <T extends number>(mode: Mode) => `[${T}$p` | `[?${T}$p` = Mode.request

    Type declaration

      • <T extends number>(mode: Mode): `[${T}$p` | `[?${T}$p`
      • Request mode (DECRQM) returns a sequence to request a mode from the terminal. The terminal responds with a report mode function DECRPM.

        ANSI format:

        CSI Pa $ p
        

        DEC format:

        CSI ? Pa $ p
        

        Type Parameters

        • T extends number

        Parameters

        Returns `[${T}$p` | `[?${T}$p`