Polyman Documentation - v3.1.0
    Preparing search index...
    • Sends the OSC 11 and DA1 queries and reads the answers in raw mode. Terminals answer in order, so the DA1 reply comes last: once it arrives no more bytes are coming. A terminal without OSC 11 support only sends the DA1 reply. Stdin is always restored before the promise resolves.

      Parameters

      • input: TerminalInput

        Terminal stdin

      • output: TerminalOutput

        Terminal stdout

      • OptionaltimeoutMs: number = QUERY_TIMEOUT_MS

        Longest time to wait

      Returns Promise<Background | null>

      The background, or null if unknown