CLAUDE_CODE_DISABLE_TERMINAL_TITLE=1 is not respected - terminal title still gets changed

Resolved 💬 3 comments Opened Feb 24, 2026 by mannewalis Closed Feb 28, 2026

Bug

The environment variable CLAUDE_CODE_DISABLE_TERMINAL_TITLE is set to 1, but Claude Code still overwrites the terminal window title while running.

Steps to Reproduce

  1. Set CLAUDE_CODE_DISABLE_TERMINAL_TITLE=1 in your environment
  2. Confirm it's set: echo $CLAUDE_CODE_DISABLE_TERMINAL_TITLE returns 1
  3. Start a Claude Code session
  4. Observe that the terminal title is still being changed

Expected Behavior

The terminal title should not be modified when CLAUDE_CODE_DISABLE_TERMINAL_TITLE=1 is set.

Actual Behavior

The terminal title is continuously overwritten during the session, and the user cannot reset it manually while Claude Code is running.

Environment

  • Platform: macOS (Darwin 25.2.0)
  • Claude Code install method: native

View original on GitHub ↗

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