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?

  1. Start codex
  2. Type hello world (or basically anything)
  3. /rename test session
  4. 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

View original on GitHub ↗

2 Comments

user202729 · 1 month ago
JSap0914 · 1 month ago

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 only codex resume and the selectable name (id) target are cyan while , then select stays default. Verification: cargo test -p codex-tui live_app_server_thread_name_update_shows_resume_hint.