Add a 10-cell context usage graph status line item
Resolved 💬 3 comments Opened Apr 27, 2026 by k-kwen Closed Jul 1, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
Request
Please add an official status line item that renders context usage as a compact 10-cell graph in the TUI footer.
Suggested item id: context-graph
Suggested rendering:
[gpt-5.5 (1M context)] █░░░░░░░░░ 11%
Why
Codex already supports textual status line entries such as context-used, context-remaining, and context-window-size. A compact graph is easier to scan during long sessions and keeps the footer readable while still showing model/window context.
Proposed behavior
- Include model display name and compact context window size.
- Render a fixed 10-cell bar, rounded up per 10% bucket.
- Omit the item when context window information is unknown, matching existing context status line behavior.
- Make it selectable in the status line setup UI.
Prototype
I have a working fork/branch implementing this:
- Fork branch: https://github.com/k-kwen/codex/tree/feature/context-graph-status-line
- Commit: https://github.com/k-kwen/codex/commit/2ad2282ef
Targeted verification on upstream main:
cargo fmt -p codex-tui
cargo test -p codex-tui context_graph
Both passed locally.
3 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
We added something very much like what you described recently, and there was an immediate negative backlash from the community. They really didn't like it, so we reverted it. The complaints were that the visual representation was ambiguous at first glance (does it mean "used" or "remaining"?) and it took up too much space.
I'll leave this feature request open to see if it gathers upvotes.
This feature request hasn't received enough upvotes, so it is being closed automatically. If you still feel this feature is needed, please open a new feature request with an updated title and description.