Feature request: colored TUI status line style
Feature request
Codex already lets users choose TUI status line fields via tui.status_line, but the rendered line is muted/monochrome. Dense status lines are much easier to scan when fields like model, cwd, git branch, rate limits, and context usage carry semantic color.
Proposed behavior
Add an opt-in style option that preserves the current default:
[tui]
status_line = [
"project-name",
"current-dir",
"git-branch",
"model-with-reasoning",
"five-hour-limit",
"weekly-limit",
"context-remaining",
"used-tokens",
]
status_line_style = "colored"
I prepared an upstream-ready branch on my fork:
- Branch:
wesleysmyth:codex/statusline-colored-style - Compare: https://github.com/openai/codex/compare/main...wesleysmyth:codex/statusline-colored-style?expand=1
The branch adds tui.status_line_style = "colored", renders configured status line segments as styled spans using Codex's approved TUI palette, updates the generated config schema/docs, and adds config/render tests.
Validation run on the branch
just fmtjust write-config-schemajust fix -p codex-tuicargo test -p codex-tuicargo test -p codex-core tui_status_line_style_deserializes_from_toml
I tried to open a draft PR from the fork, but GitHub rejected CreatePullRequest for my account/token against openai/codex even though the fork branch is public.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗