/clear command should reset terminal title
Problem
When using /clear in Claude Code, the screen is cleared but the terminal title remains unchanged from the previous conversation context. This makes it difficult to identify which Claude Code instance is idle when running multiple instances in different directories.
Suggestion
When /clear is invoked, either:
- Reset the terminal title to a neutral state (e.g., "Claude Code" or empty), or
- Show the current working directory in the terminal title after clearing
This would make it easier to differentiate between multiple Claude Code instances running in different folders.
Use Case
When working with multiple Claude Code sessions in different project directories, the terminal title helps identify which session is which. After using /clear, the stale title no longer reflects the current state, causing confusion about which instance is available/idle.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗