# terminalTitleFromRename

> The key that decides if the tab shows the name you gave.

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**Also known as:** terminalTitleFromRename setting, terminal tab title

## Think of it like

It is like the label on a folder. It shows the name you wrote, or one made for you.

## Definition

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.

## Example code

```json
{
  "terminalTitleFromRename": false
}
```

Keep the title made from the chat on the tab.

## Why it matters

With many tabs open, the title is how you find the right one.

## Common mistake

Using it to stop all title changes. A separate variable turns the tab title off for good.

## Three principles

- **Tab title.** From your name.
- **false keeps auto title.** After rename.
- **On by default.** true.

## Related terms

- [/rename Command](https://learn.benibix.com/term/ai/rename-command)
- [--name Flag](https://learn.benibix.com/term/ai/name-flag)
- [CLAUDE_CODE_DISABLE_TERMINAL_TITLE](https://learn.benibix.com/term/ai/claude-code-disable-terminal-title-variable)

## Told apart from

- [terminalTitleFromRename vs CLAUDE_CODE_DISABLE_TERMINAL_TITLE](https://learn.benibix.com/compare/terminal-title-from-rename-setting-vs-claude-code-disable-terminal-title-variable): 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.

---

Source: https://learn.benibix.com/term/ai/terminal-title-from-rename-setting
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-16
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
