/clear command should reset terminal title

Resolved 💬 3 comments Opened Jan 9, 2026 by Christilut Closed Jan 13, 2026

Problem

When using /clear in Claude Code, the screen is cleared but the terminal title remains unchanged from the previous conversation context. This makes it difficult to identify which Claude Code instance is idle when running multiple instances in different directories.

Suggestion

When /clear is invoked, either:

  1. Reset the terminal title to a neutral state (e.g., "Claude Code" or empty), or
  2. Show the current working directory in the terminal title after clearing

This would make it easier to differentiate between multiple Claude Code instances running in different folders.

Use Case

When working with multiple Claude Code sessions in different project directories, the terminal title helps identify which session is which. After using /clear, the stale title no longer reflects the current state, causing confusion about which instance is available/idle.

View original on GitHub ↗

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