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:
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 fmt
just write-config-schema
just fix -p codex-tui
cargo test -p codex-tui
cargo 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.
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:
I prepared an upstream-ready branch on my fork:
wesleysmyth:codex/statusline-colored-styleThe 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_tomlI tried to open a draft PR from the fork, but GitHub rejected
CreatePullRequestfor my account/token againstopenai/codexeven though the fork branch is public.