codex icon indicating copy to clipboard operation
codex copied to clipboard

Limits display on /status is confusing

Open kvcop opened this issue 1 year ago • 7 comments

What version of Codex is running?

codex-cli 0.58.0

What subscription do you have?

Pro

Which model were you using?

gpt-5.1-codex high

What platform is your computer?

Linux 6.6.87.1-microsoft-standard-WSL2 x86_64 x86_64

What issue are you seeing?

The bars for the limits seems to be inverted, it may mislead users thingking its 94% full, instead of 94% empty. Image

What steps can reproduce the bug?

Write some prompt, then /status

What is the expected behavior?

There should be less "█" symbols pasted, because "93% left" is meaning bar should be 7% full

Additional information

No response

kvcop avatar Nov 13 '25 20:11 kvcop

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #6276

Powered by Codex Action

github-actions[bot] avatar Nov 13 '25 20:11 github-actions[bot]

I've gone through https://github.com/openai/codex/issues/6276 and it's in fact NOT a duplicate

kvcop avatar Nov 13 '25 20:11 kvcop

I've investigated the issue a bit more, found https://github.com/openai/codex/pull/6482 it says that it's to match the codex/settings/usage.

The confusion comes from mixing up gauge bars in UI with progress bars in TUI.

Image

But the thing is in the web UI there's a green line, which tries to signal the "still plenty left". And in the TUI we don't have the green color in the terminal and white box symbol usually means that something is used up or is making progress towards the end. For example in progress bar we measure with white bars how much is used, not how much is left.

If we want an inverted bar, maybe we should consider putting the white bars on the right like so?

[░░░░░░░░░░░░░░░░░░██]

Or maybe even making it actually green color.

kvcop avatar Nov 13 '25 21:11 kvcop

Variants i've tested: 1. Image 2. Image

In the first one abundance of white color blends with the green for the eye. Second one looks way better in my opinion.

kvcop avatar Nov 13 '25 21:11 kvcop

Image

Cause Color::Rgb is disallowed. Will make PR with this one

kvcop avatar Nov 13 '25 21:11 kvcop

For anyone wondering, here's official comment https://github.com/openai/codex/pull/6625#issuecomment-3530737253

kvcop avatar Nov 14 '25 19:11 kvcop

Thanks for all the feedback. We've updated the limits displays and normalized them across the CLI and IDE extension so they are consistent.

etraut-openai avatar Dec 03 '25 06:12 etraut-openai