Skip to content

Bring back % for token use in statusline #17874

Description

@joshka

What version of Codex CLI is running?

codex-cli 0.120.0

What subscription do you have?

Pro

Which model were you using?

No response

What platform is your computer?

macos

What terminal emulator and version are you using (if applicable)?

ghostty / vscode

What issue are you seeing?

Having the percentage in the status line is much more useful than a bar graph.
A percentage allows you to choose what sorts of messages you want to send based on the remaining usable context space before compaction kicks in. Removing this makes it more difficult to work around compaction effects.

What steps can reproduce the bug?

/statusline with context-usage set

What is the expected behavior?

show a percentage

Additional information

This was changed away from percentage recently (in the last couple of releases)
The rationale was that it was confusing.
Perhaps something like xx% ctx would be useful / less confusing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIIssues related to the Codex CLITUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displaybugSomething isn't workingcontextIssues related to context management (including compaction)enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions