Skip to content
BENIBIX Learn

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.

AI⌨️ Claude Code

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.

Example
Lucy names sessions after tickets, but likes the tab to say what the chat is about. She sets this key to false.
Why it matters
With many tabs open, the title is how you find the right one.
Full entry
AI⌨️ Claude Code

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.

Example
Jack names his tabs by project. Claude Code kept renaming them. He sets this, and his names stay.
Why it matters
Many people find their tabs by title. A changing title makes them hard to find.
Full entry

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.