Allow customizing the terminal tab title for multiple sessions
Problem
When running multiple Claude Code sessions in a terminal emulator (e.g., Hyper), all tabs show the same title ("Claude Code" with the icon). This makes it difficult to distinguish between sessions when working on different projects simultaneously.
Proposed Solution
Allow users to customize the terminal tab title that Claude Code sets, so each session can be easily identified. For example:
- A CLI flag:
claude --title "my-project" - Or a setting in the configuration
This would allow the tab to show something like "my-project - Claude Code" instead of the generic "Claude Code" title.
Use Case
Developers often have multiple Claude Code sessions open across different projects/repos. Being able to quickly identify which session belongs to which project from the tab title would significantly improve the workflow.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗