mirror of
https://github.com/openai/codex.git
synced 2026-09-14 11:57:03 +00:00
- Codex CLI startup slowed to ~1.5 s in Terminal and Ghostty. - This was because because Tui::new requested the terminal’s 256-color palette via OSC 4. Trace logging showed the constructor waiting for 1.5s at query_terminal_palette before timing out, since many modern GPU terminals ignore OSC 4/10/11. - This is a minimal change that disables those probes, but keeps it easy to bring the back for specific terminals that support it like iTerm or xterm, or with different more performant approach.