mirror of
https://github.com/openai/codex.git
synced 2026-10-20 17:38:45 +00:00
## Why RGB and extended indexed theme colors cannot be displayed directly on 16-color terminals, causing status line items to lose their color accents. ## What changed Use each status line item's existing ANSI fallback accent when its theme foreground requires RGB or an indexed color beyond the first 16 colors. ## Testing Add regression coverage for uncolored output with `FORCE_COLOR=0` and ANSI status line accents with `FORCE_COLOR=1`. Give the RGB styling test explicit terminal colors so it consistently exercises true-color behavior. GitOrigin-RevId: 213ca5c6c366f0a3c696aab256a0b146558a2837