Display session ID in terminal tab title

Status Closed — not planned
Maintainer reply None cached
Activity 5 comments · opened Feb 10, 2026 · closed Mar 11, 2026

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)

View original on GitHub ↗

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