Allow users to set custom terminal tab titles

Resolved 💬 6 comments Opened Mar 23, 2026 by SonofaGunder Closed May 24, 2026

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

Claude Code auto-generates terminal tab titles from conversation content (e.g., "Backend change safety", "Spot Check Metrics"). There is no way for users to set or override these titles.

When running multiple Claude Code sessions in parallel, the auto-generated titles are often unhelpful — they change as the conversation evolves and don't reflect how the user thinks about each session
(e.g., "PR Review", "Frontend Dev", "Debugging Auth").

## What I tried

  • /rename — changes the session name (shown in /resume) but does not update the terminal tab title
  • name-tab via shell escape sequences (printf '\e]1;%s\a') — Claude Code immediately overwrites any externally set tab title
  • --name flag — does not exist despite appearing in some documentation references

Why this matters

Power users run 4-8 Claude Code tabs simultaneously. Without custom titles, the only way to find the right tab is to click through each one. Custom titles would make parallel sessions practical.
```

Proposed Solution

## Proposed solution

A --name or --tab-title CLI flag that sets the terminal tab title and keeps it fixed:

```bash
claude --name "PR Review"

And a /rename update so it also changes the terminal tab title mid-session, not just the internal session name.

Alternative Solutions

eh

Priority

Medium - Would be very helpful

Feature Category

CLI commands and flags

Use Case Example

_No response_

Additional Context

_No response_

View original on GitHub ↗

This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗