CLI: show the /rename thread title on the input bar

Open 💬 2 comments Opened Jul 10, 2026 by giorgio-zamparelli

What variant of Codex are you using?

Codex CLI (codex-cli 0.144.1) on macOS.

What feature would you like to see?

When a Codex CLI session is named with /rename, please display that thread name persistently on the upper-right edge of the input/composer bar.

Current behavior

In a current Codex CLI session, I ran:

/rename this-test-should-appear-on-the-input-bar

Codex printed a confirmation that the session was renamed and saved the name for codex resume. However, the input bar remained visually unchanged and provided no indication of which named session was active.

Reference behavior

Claude Code displays the renamed session as a persistent label on the upper-right edge of its input bar. For example, a name such as tutorial-connect-whatsapp-account-es remains visible while the user types or the agent works.

Requested behavior

After /rename auth-refactor, the composer should look conceptually like this:

╭─ Ask Codex ───────────────────────── auth-refactor ─╮
│                                                    │
╰────────────────────────────────────────────────────╯

The label should:

  • Appear immediately after /rename
  • Remain visible while typing and while Codex is running
  • Update immediately after another rename
  • Persist after resuming the session
  • Truncate gracefully when terminal space is limited
  • Remain readable when a per-session color is applied
  • Be omitted when the session has no explicit name

This is specifically about showing the name at the point of input, not in the status line, terminal/tab title, or /resume picker.

This helps distinguish multiple Codex sessions running in parallel and reduces the chance of interacting with the wrong session.

Additional information

Claude Code session naming reference: https://code.claude.com/docs/en/sessions

Related but distinct:

  • #31124 requests syncing the thread name to the terminal/tab title.
  • Codex can expose thread information through its configurable status line, but that is a different placement and is not an always-visible label attached to the composer.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗