Feature request: colored TUI status line style

Resolved 💬 3 comments Opened Apr 28, 2026 by wesleysmyth Closed May 2, 2026

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.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗