-
Notifications
You must be signed in to change notification settings - Fork 7.5k
Description
Summary
On native Windows terminals (PowerShell), the Codex TUI does not render the shaded background/tint for user input blocks and transcript items. The same UI on Linux/macOS shows a distinct background for user input ("chat box" look). Unicode box‑drawing characters render correctly, but the background color never appears on Windows.
Steps to reproduce
- Run
codexon native Windows (PowerShell). - Observe the input area and user prompt blocks in the transcript.
Expected
User input blocks and the input area should have a subtle shaded background (as seen on Linux/macOS).
Actual
No background tint on Windows; only text and borders are shown.
Environment
- OS: Windows (native)
- Shell: PowerShell (pwsh)
- Terminals tested: Windows Terminal, VS Code terminal, Alacritty (same result)
- Codex version: 0.79.0 (Windows screenshot)
Notes
This looks like a Windows‑specific rendering limitation in the TUI color pipeline: user_message_style() relies on terminal_palette::default_bg() to compute a blended background, but default_bg() returns None on Windows (default color query is compiled out). As a result, user message styles fall back to no background on Windows.
