terminalTitleFromRename vs CLAUDE_CODE_DISABLE_TERMINAL_TITLE
People think setting terminalTitleFromRename to false stops Claude Code from changing the tab title. It does not. The tab still gets a title made from the chat. The key only stops a name you give with /rename from taking its place. To stop all title changes, set the DISABLE_TERMINAL_TITLE switch. That also skips the model call that writes the title.
terminalTitleFromRename
The key that decides if the tab shows the name you gave.
terminalTitleFromRename is a settings key that decides what your terminal tab shows. Claude Code makes a title from the chat. Once you name the session with /rename or --name, the tab shows that name instead. Set this key to false to keep the made-up title even after you name it. The default is true.
CLAUDE_CODE_DISABLE_TERMINAL_TITLE
Set to 1, it leaves your terminal's title alone.
CLAUDE_CODE_DISABLE_TERMINAL_TITLE set to 1 leaves the name of your tab alone. Claude Code no longer sets it to match the chat. It also skips the small model call that writes a title for the session. Status notes to your tab stop too.
In one line
- terminalTitleFromRename
- The key that decides if the tab shows the name you gave.
- CLAUDE_CODE_DISABLE_TERMINAL_TITLE
- Set to 1, it leaves your terminal's title alone.