claude-code - 💡(How to fix) Fix Feature request: configurable terminal tab title format [1 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#49141Fetched 2026-04-17 08:49:44
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Participants
Timeline (top)
labeled ×3

Claude Code CLI auto-sets terminal tab titles via escape sequences based on conversation context. Currently there is no way to customize the title length or format.

Root Cause

Claude Code CLI auto-sets terminal tab titles via escape sequences based on conversation context. Currently there is no way to customize the title length or format.

Code Example

{
  "titleMaxWords": 2,
  "titleFormat": "short"
}
RAW_BUFFERClick to expand / collapse

Summary

Claude Code CLI auto-sets terminal tab titles via escape sequences based on conversation context. Currently there is no way to customize the title length or format.

Request

Add a configurable setting in settings.json to control the auto-generated session title, for example:

{
  "titleMaxWords": 2,
  "titleFormat": "short"
}

Options could include:

  • titleMaxWords — limit title to N words (e.g., 2)
  • titleFormat — preset formats like "short", "full", "none"

Use Case

When running multiple Claude Code sessions in terminal tabs (e.g., inside JetBrains IDEA built-in terminal), shorter titles make it easier to distinguish tabs at a glance. Current titles can be verbose and get truncated by the tab UI.

Current Behavior

Title is auto-generated internally with no user control. Attempted adding instructions to CLAUDE.md — does not work since title generation happens at system level.

extent analysis

TL;DR

Add a configurable setting in settings.json to control the auto-generated session title, allowing users to customize the title length and format.

Guidance

  • Introduce a new setting in settings.json with options like titleMaxWords and titleFormat to provide users with control over the auto-generated title.
  • Update the title generation logic to respect the new settings, truncating titles to the specified number of words or applying the chosen format.
  • Consider adding validation for the titleMaxWords setting to ensure it's a positive integer.
  • Document the new settings in the CLAUDE.md file to inform users about the available customization options.

Example

// Example settings.json configuration
{
  "titleMaxWords": 3,
  "titleFormat": "short"
}

Notes

The implementation details of the title generation logic are not provided, so the exact changes required to update the logic are uncertain. Additionally, the available preset formats (e.g., "short", "full", "none") and their corresponding behaviors are not specified.

Recommendation

Apply workaround by adding the proposed settings to settings.json and updating the title generation logic to respect these settings, as this provides a clear and customizable solution to the problem.

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 request: configurable terminal tab title format [1 participants]