Frodo Library - v4.8.5
    Preparing search index...

    Function detectTerminalBackgroundRgb

    • Queries the terminal's actual background color via OSC 11. Resolves null immediately, with no query attempted, when stdin/stdout aren't a TTY (piped/scripted/CI usage) -- and resolves null after a short timeout if the terminal never responds (unsupported terminal, or a multiplexer/SSH chain that swallows the query).

      Returns Promise<Rgb>