Input prompt box renders as dark background in Light Themes (Solarized Light) over SSH to Windows
What version of Codex CLI is running?
codex-cli 0.140.0
What subscription do you have?
Plus
Which model were you using?
_No response_
What platform is your computer?
Darwin 25.5.0 arm64 arm / Microsoft Windows NT 10.0.26100.0 x64
What terminal emulator and version are you using (if applicable)?
VS Code/Ghostty
Codex doctor report
What issue are you seeing?
In recent versions of codex, when connecting to a Windows Server via SSH from a macOS/Linux terminal, the chat input prompt window renders with a solid dark/black background. This happens even when the terminal emulator is using a Light Theme (such as Solarized Light), making the text hard to read or visually disruptive.
This seems to be a regression, as this behavior did not occur in older versions of codex under the exact same environment.
<img width="635" height="240" alt="Image" src="https://github.com/user-attachments/assets/fb39255b-0e50-4a1d-8227-166dc2398ea2" />
<img width="1068" height="424" alt="Image" src="https://github.com/user-attachments/assets/31893468-cc0f-4179-bdca-23bdfee78a59" />
What steps can reproduce the bug?
- Use a macOS terminal emulator (e.g., Ghostty or VS Code built-in terminal) configured with a Light Theme (Solarized Light).
- SSH into a Windows Server using standard SSH commands, or explicitly forcing terminal environment variables:
ssh user@server
# OR
ssh -o SetEnv="TERM=xterm-256color COLORTERM=truecolor" user@server
What is the expected behavior?
_No response_
Additional information
_No response_
8 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
TERM=dumb used to be a fine workaround. But now it dark always.
I've encountered this problem too.
<img width="1418" height="423" alt="Image" src="https://github.com/user-attachments/assets/1d47fac4-5fe0-43ac-8685-d3f61e7f6e36" />
This is version 0.137.0
<img width="1098" height="691" alt="Image" src="https://github.com/user-attachments/assets/2c874f64-8006-4772-ac51-f17417343370" />
I can't seem to replicate it using Windows Terminal or VSCode terminal. What terminal are you using and with what theme specifically @HeroHong @kzh125 ?
I use VS Code/Ghostty in MacOS @fcoury-oai
Wezterm, Alacritty also have black input box.
✅ Workaround
Launch with
source