claude-code - 💡(How to fix) Fix Allow customizing terminal/tab title (show working directory) [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#54613Fetched 2026-04-30 06:40:50
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Timeline (top)
labeled ×3commented ×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

Claude Code sets the terminal title to "Claude Code", which makes it hard to distinguish between multiple instances open in different project folders.

Proposed Solution

Allow customizing the terminal/tab title to include the current working directory or project name. For example:

  • Claude Code - Pharmaroom
  • Or just the folder name: Pharmaroom

A configuration option like titleFormat in settings would be ideal, with placeholders such as {cwd}, {project}, {basename}.

Alternative Solutions

No response

Priority

Low - Nice to have

Feature Category

CLI commands and flags

Use Case Example

When working on multiple projects simultaneously with multiple Claude Code instances, it's difficult to identify which terminal belongs to which project.

Additional Context

No response

extent analysis

TL;DR

Allowing customization of the terminal title through a configuration option like titleFormat in settings could resolve the issue.

Guidance

  • Introduce a titleFormat setting with placeholders such as {cwd}, {project}, and {basename} to enable customization of the terminal title.
  • Consider adding a default format that includes the current working directory or project name to simplify the setup for users.
  • Evaluate the feasibility of implementing this feature as a low-priority enhancement, given its "Nice to have" priority label.
  • Review existing CLI commands and flags to ensure consistency with the proposed solution.

Example

// Example configuration option
const titleFormat = "{cwd} - Claude Code";

// Placeholder replacement logic
function replacePlaceholders(format, cwd, project, basename) {
  return format.replace("{cwd}", cwd).replace("{project}", project).replace("{basename}", basename);
}

// Usage
const customizedTitle = replacePlaceholders(titleFormat, "/path/to/project", "My Project", "project");
console.log(customizedTitle); // Output: "/path/to/project - Claude Code"

Notes

The proposed solution requires careful consideration of the implementation details, such as handling edge cases and ensuring consistency across different operating systems.

Recommendation

Apply workaround: Introduce a titleFormat setting to allow users to customize the terminal title, as this is a low-priority feature request and may not be addressed immediately.

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 Allow customizing terminal/tab title (show working directory) [1 comments, 2 participants]