Repository navigation
Description
Summary
After upgrading to Codex v0.139.0, the prompt input box in the TUI now appears with a gray background. In a terminal theme where the overall background is pure black, this gray input area stands out quite strongly and feels visually intrusive.
It would be nice if the input box background could either be removed, made transparent/black, or controlled through a configuration option or feature flag.
Current behavior
The main Codex TUI background is pure black, but the input box uses a gray filled background.
This creates a strong visual contrast:
- the rest of the interface blends well with the terminal theme
- the input box becomes a large gray block
- it feels inconsistent with the immersive dark terminal experience
- it draws too much attention even when idle
Screenshot:
Expected behavior
Preferably, the input box should match the surrounding terminal background more closely, for example:
- no filled gray background
- transparent background
- pure black background in dark mode
- or a configurable style option
A flag/config option would also be fine, for example:
[tui]
input_box_background = "transparent"or:
codex --no-input-box-backgroundThe exact API does not matter much; the main request is to allow users to disable the gray input background when using a pure black terminal theme.
Why this matters
For users who prefer a minimal, immersive terminal UI, especially with a pure black background, the gray input box feels too prominent. It makes the TUI look less integrated with the terminal and can be distracting during long coding sessions.
Environment
- Codex version:
v0.139.0 - Shell: PowerShell /
pwsh - Terminal: Windows Terminal
- Theme: pure black background
- OS: Windows
Suggested solution
Please consider one of the following:
- make the input box background transparent by default in dark/black themes
- reduce the contrast of the input box background
- add a config option or flag to disable the filled input background
- expose input box styling through the existing TUI/theme configuration, if available
Thanks!
Activity
Engazan commentedon Jun 27, 2026
in some cases u cant even see what u r typing ...
Asianfleet commentedon Jul 1, 2026
@Engazan
I can reproduce a very similar issue on Windows Terminal with PowerShell 7.
In my case, the Codex input box stayed dark gray on a light terminal background when running under pwsh. The same Windows Terminal theme looked correct when using Windows PowerShell 5.1.
Environment:
TERMandCOLORTERMwere both empty by default.Workaround that fixed it for me in pwsh:
After setting those variables, the input box background adapted correctly to the light terminal background.
So this may be related to Codex’s terminal color capability detection when running under pwsh with TERM / COLORTERM unset.
Elijas commentedon Jul 15, 2026
This works! Thank you
hikidd commentedon Aug 21, 2026
Yes, really ugly...
LeoLuo0115 commentedon Aug 31, 2026
Add alias codex='FORCE_COLOR=1 /Users/$yourusername/.local/bin/codex' into you ~/.zshrc file it should fix it