[FEATURE] Reset terminal tab title after /clear command
Resolved 💬 2 comments Opened Feb 5, 2026 by cihati Closed Mar 5, 2026
Problem Statement
After running /clear to reset the conversation, the terminal tab title (in iTerm2 and other terminals that support escape sequences) retains the previous conversation topic. This breaks the expectation of a "fresh start" after clearing.
Proposed Solution
Send a terminal escape sequence to reset the tab title after /clear completes. Something like:
\033]0;Claude Code\007
This would reset the title to a generic "Claude Code" or similar default.
Alternative Solutions
Users can manually reset the title with:
echo -ne "\033]0;Claude Code\007"
But this shouldn't be necessary after using /clear.
Priority
Low - Minor UX polish
Feature Category
CLI commands and flags
Use Case Example
- Working on a task, tab title updates to "Note Creation Abuse"
- Run
/clearto start fresh - Tab still shows "Note Creation Abuse" even though conversation is cleared
- Expected: Tab title resets to "Claude Code" or similar default
Additional Context
Tested in iTerm2 on macOS. The title is set correctly during conversations, just not reset on clear.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗