[Bug] Session name not displayed in prompt bar when resuming named session
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:
- Start a new Claude Code session
- Run /rename my_session_name - observe that the name appears in the prompt bar
- Exit the session
- Resume the session using /resume and select "my_session_name"
- Observe that the prompt bar does NOT show the session name
- Run /rename my_session_name again within the session
- 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
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗