claude-code - 💡(How to fix) Fix [FEATURE] Support custom terminal tab name that preserves status indicator [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#47188Fetched 2026-04-13 05:39:07
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
0
Author
Timeline (top)
labeled ×5commented ×1
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing requests and this feature hasn't been requested yet
  • 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

extent analysis

TL;DR

Implement a CLI flag, such as claude --tab-name, to set the terminal tab title from the main process, allowing for both custom tab names and status indicators.

Guidance

  • Consider adding a new CLI flag to the claude command to set the terminal tab title, as proposed in the issue.
  • Investigate how to update the terminal tab title from the main process, potentially using escape sequences or other terminal control mechanisms.
  • Evaluate the feasibility of bypassing Windows Terminal's suppression behavior when a tab is manually renamed.
  • Review the suppressApplicationTitle profile setting in Windows Terminal to understand its implications on status updates.

Example

No code example is provided, as the issue does not include sufficient technical details to generate a specific implementation.

Notes

The solution may require modifications to the Claude Code application and potentially involve platform-specific (Windows) and terminal-specific (Windows Terminal) considerations.

Recommendation

Apply workaround: Implement the proposed claude --tab-name flag to set the terminal tab title from the main process, allowing for both custom tab names and status indicators, as this approach seems to address the core issue without requiring significant changes to the underlying system or application.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [FEATURE] Support custom terminal tab name that preserves status indicator [1 comments, 2 participants]