Windows: "XX% left" context indicator no longer appears in Codex CLI/TUI, even though token_count/model_context_window are still present
What version of Codex CLI is running?
0.120.0
What subscription do you have?
Windows: "XX% left" context indicator no longer appears in Codex CLI/TUI, even though token_count/model_context_window are still present
Which model were you using?
_No response_
What platform is your computer?
windows11
What terminal emulator and version are you using (if applicable)?
all
What issue are you seeing?
### Summary
On Windows, the XX% left context indicator is no longer shown in the Codex CLI TUI.
This used to work for me before. The issue first appeared after I updated from 0.119.0 to 0.120.0 on April 13, 2026, but it still persists after downgrading back to 0.119.0.
What makes this look like a TUI/rendering issue rather than missing backend data is that the session JSONL still contains token_count and model_context_window, but the TUI does not render the XX% left
display.
### Environment
- OS: Windows 10 Pro
- Architecture: x86_64
- Codex CLI version tested:
0.120.0- downgraded back to
0.119.0 - Also tested with:
- npm-installed CLI
- official standalone Windows exe
- Shells tested:
- Windows Terminal
- PowerShell 7
- cmd
- VS Code integrated terminal
### Expected behavior
Codex CLI should show the context indicator in the TUI, e.g. XX% left.
### Actual behavior
The TUI starts normally, but the XX% left indicator is missing.
Example of what I currently see:
```text
>_ OpenAI Codex (v0.119.0)
model: gpt-5.4 high /model to change
directory: D:\Download
Tip: New Build faster with Codex.
No XX% left is shown.
### Reproduction
- Start Codex CLI on Windows
- Enter a prompt and continue the session
- Observe the TUI/status area
### What I already tried
- Updated from 0.119.0 to 0.120.0
- Downgraded back to 0.119.0
- Fully uninstalled and reinstalled Codex
- Renamed/deleted the local Codex config/state directory and let it recreate
- Tested with a fresh CODEX_HOME
- Tested in multiple terminals
- Tested the official standalone Windows exe instead of the npm wrapper
None of the above restored the XX% left indicator.
### Additional evidence
The session log still appears to receive token/context data.
In the session JSONL I can still see events like:
- token_count
- model_context_window
So it looks like the underlying usage/context information still exists, but the Windows TUI is not rendering that indicator.
### Comparison
On my Mac, an older Codex CLI setup still shows the XX% left indicator normally.
### Notes
This does not look like a simple local config issue anymore, because:
- it reproduces with both npm install and official exe
- it reproduces with a fresh CODEX_HOME
- it reproduces across multiple Windows terminals
- the session log still contains token/context metadata
### If helpful
I can also provide:
- a screenshot
- a sample session JSONL snippet showing token_count / model_context_window
- exact terminal/Windows build details
What steps can reproduce the bug?
powershell
codex
What is the expected behavior?
_No response_
Additional information
_No response_
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗