Skip to content

Display session ID in terminal tab title #24709

@hmcg001

Description

@hmcg001

Feature Request

When running multiple Claude Code sessions simultaneously, there's no way to identify which session is which from the terminal tab.

Problem:

  • Power users often have 4+ Claude Code sessions open at once
  • Each session is a UUID (e.g., 2f1b3084-b39d-4923-8731-0f37048e533b)
  • Terminal tabs all show the same title — you have to guess which is which
  • The only way to identify sessions is to dig through ~/.claude/projects/ and inspect JSONL files

Proposed Solution:
Display the session ID (or a short hash of it) in the terminal tab title. For example:

  • Claude Code [2f1b] or Claude Code #2f1b3084
  • Even better: allow users to name sessions, shown in the tab title

Why this matters:

  • Users managing complex projects across multiple sessions need to quickly switch between them
  • Session IDs are already tracked internally — just surface them in the tab title
  • Would pair well with session resume workflows

Environment:

  • macOS Terminal / iTerm2 / VS Code terminal
  • Claude Code CLI (Opus 4.6)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions