[FEATURE] Support custom terminal tab name that preserves status indicator

Resolved 💬 3 comments Opened Apr 13, 2026 by freecho Closed Apr 16, 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

When using Claude Code in Windows Terminal (PowerShell), the CLI shows
a status indicator (green logo) in the terminal tab title. However,
when I manually rename the tab in Windows Terminal, the rename feature
internally suppresses application title updates — so Claude Code can
no longer update the status indicator.

The current workflow requires me to choose between:

  1. Keeping the status indicator (don't rename the tab)
  2. Having a meaningful tab name (rename the tab, lose the indicator)

There is no way to have both simultaneously.

Proposed Solution

Add a CLI flag such as claude --tab-name "my-project" that sets the
terminal tab title from the main process at startup (and on each status
update), rather than relying on a subprocess. This bypasses Windows
Terminal's suppression behavior and allows the status indicator to
continue working alongside a user-defined name.

Alternative Solutions

  • Use Windows Terminal's suppressApplicationTitle: true profile setting,

but this permanently disables all status updates from Claude Code.

  • Avoid renaming tabs and rely solely on Claude Code's default title,

but this is unworkable when running multiple concurrent sessions.

  • Output OSC escape sequences via subprocess to rename the tab, but

Claude Code's tool output is captured and never reaches the terminal PTY.

Priority

Medium - Would be very helpful

Feature Category

CLI commands and flags

Use Case Example

When running multiple Claude Code agents simultaneously across several
terminal tabs (e.g., one per microservice or per feature branch), the
status indicator is critical for quickly spotting which tab is waiting
for user input. Without a custom name, all tabs show the same default
title, making it impossible to distinguish them. With manual renaming,
the status indicator disappears. A named session with a working status
indicator would make multi-agent workflows significantly more efficient.

Additional Context

Platform: Windows 11, Windows Terminal
Shell: PowerShell
Claude Code version: v2.1.97

View original on GitHub ↗

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