mirror of
https://github.com/openai/codex.git
synced 2026-11-22 23:00:42 +00:00
## Why On Unix, terminals that report a background color without a foreground color would lose both from the TUI palette. This left the composer without shading based on the terminal background. ## What changed Keep the background reply from startup and standalone color probes while giving the foreground reply the rest of the existing probe window. Use the reported background for composer shading. When either color is missing, render the empty-state logo in the terminal's default foreground and use the fallback color pair for shimmer. ## Testing Cover background retention at the startup deadline, a foreground reply arriving after the background, and rendering a shaded composer with the logo in the default foreground. GitOrigin-RevId: a3ce859eb04a21cfa9742d28b57fa98d4c26e0cc