Feature request: show rate limit reset countdown in the TUI status line

Open 💬 1 comment Opened May 4, 2026 by zime78

Feature request

Please show a compact reset countdown for rate-limit windows directly in the TUI status line when reset data is available.

Today the status line can show values like:

5h 98%
weekly 92%

This makes it difficult to tell how much time is actually left until each limit resets. The main reason for this request is that the remaining reset time is hard to see and understand at a glance, especially when deciding whether to keep working in the current session, wait for a reset, or switch models.

A clearer status line could look like:

5h reset 4h12m 98%
weekly reset 3d4h 92%

Suggested behavior

  • When reset timestamp data is available, show a compact countdown next to the existing limit label and percentage.
  • Keep the current output format as a fallback when reset timestamp data is unavailable.
  • Use short labels such as 1m, 1h1m, 2d, or 2d3h so the status line stays compact.

Implementation reference

I prepared a branch with a small implementation and tests, but opening a PR from this environment was blocked by GitHub permissions.

Branch:

zime78/codex:codex/status-reset-countdown

Commit:

52188d5 Show rate limit reset countdown in status line

Compare URL:

https://github.com/openai/codex/compare/main...zime78:codex/status-reset-countdown?expand=1

Validation run on the branch:

cargo fmt -p codex-tui
CARGO_NET_GIT_FETCH_WITH_CLI=true cargo test -p codex-tui rate_limit --lib

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗