mirror of
https://github.com/openai/codex.git
synced 2026-11-25 23:30:49 +00:00
## Why Terminal-specific checks are spread across rendering and scrollback code. Independent capability queries let callers share those checks without starting unrelated terminal probes or caching live settings together. ## What changed Move scrollback strategy, title encoding, and Markdown link display decisions into `terminal_capabilities`. Route color detection and resize reflow limits through the same module. Rendering and scrollback code apply the selected modes. GitOrigin-RevId: 6803e4b50ff5d3517efb5c07474d9ce17690e12d