[Bug] Session name not displayed in prompt bar when resuming named session

Resolved 💬 1 comment Opened Jun 2, 2026 by mandeepsandhu Closed Jul 6, 2026

Bug Description

Session name doesn't display in prompt bar when resuming named session

Current Behavior:

When I resume a previously named session (using /resume or claude --resume <session_name>), the session name does not appear in the prompt bar/status bar. The session name only displays if I run /rename <name> again within the resumed session.

Expected Behavior:

When resuming a named session, the session name should automatically display in the prompt bar without requiring me to run /rename again. The name is persisted (I can see it in the session picker), so it should also be displayed when the session is active.

Steps to Reproduce:

  1. Start a new Claude Code session
  2. Run /rename my_session_name - observe that the name appears in the prompt bar
  3. Exit the session
  4. Resume the session using /resume and select "my_session_name"
  5. Observe that the prompt bar does NOT show the session name
  6. Run /rename my_session_name again within the session
  7. Observe that NOW the prompt bar shows the session name

Why This Matters:
The purpose of naming sessions is to help identify which session I'm working in. If the name only displays during the initial /rename command but disappears when resuming, it defeats the purpose of session naming for ongoing work.

Environment:
  • Platform: Linux
  • Claude Code version: 2.1.1

Environment Info

  • Platform: linux
  • Terminal: gnome-terminal
  • Version: 2.1.1
  • Feedback ID: b027cf62-17c0-4755-a5c4-0a941e5dc8d3

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗