Claude Code skips asking the terminal for its background color when the terminal already pushed its own light/dark setting
Claude Code can detect whether your terminal is using a light or dark theme by sending a query (OSC 11) that asks for the terminal's background color. Now, if the terminal has already told Claude Code its theme directly through a 'surface' push notification, Claude Code trusts that notification and skips sending the OSC 11 query, logging 'surface override active, skipping OSC 11 query'.
This avoids an unnecessary and potentially redundant terminal query when the terminal is already actively reporting its theme, relying on the more direct signal instead.