The message "To continue this session ... run codex resume, then select ..." is incorrectly colored
Open 💬 2 comments Opened Jul 3, 2026 by user202729
What version of Codex CLI is running?
latest
What subscription do you have?
enterprise
Which model were you using?
_No response_
What platform is your computer?
_No response_
What terminal emulator and version are you using (if applicable)?
_No response_
Codex doctor report
What issue are you seeing?
See below.
What steps can reproduce the bug?
- Start codex
- Type
hello world(or basically anything) /rename test session- Observe
Session renamed to test session. To resume this session run codex resume, then select test session (00000000-0000-0000-0000-000000000000)
the problem is , then select is also colored cyan, even though it isn't part of the command.
What is the expected behavior?
The , then select should be white. The codex resume and test session (00000000-0000-0000-0000-000000000000) should remain cyan.
Additional information
Introduced in https://github.com/openai/codex/pull/23234
2 Comments
Somewhat related: https://github.com/openai/codex/issues/23181
I have a fix branch with test coverage here: https://github.com/JSap0914/codex/tree/fix/tui-resume-hint-colors-30973
GitHub is rejecting PR creation from this account with
JSap0914 does not have the correct permissions to execute CreatePullRequest, but the branch splits the resume hint into separate spans so onlycodex resumeand the selectablename (id)target are cyan while, then selectstays default. Verification:cargo test -p codex-tui live_app_server_thread_name_update_shows_resume_hint.