[Feature Request] Add setting to disable auto-generated terminal tab titles
Bug Description
Feature request: setting to disable auto-generated tab title
Please add a setting (e.g., disableAutoTitle: true in settings.json or env var CLAUDE_CODE_DISABLE_TERMINAL_TITLE=1) to suppress Claude Code's automatic topic-based terminal title updates.
Use case: I run ~12 Claude Code instances across different repos in Ghostty tabs. I wired UserPromptSubmit / Stop / Notification hooks that emit OSC 0 sequences so each tab shows 🟢 cwd / 🟡 cwd / 🔴 cwd and I can glance at the tab bar to see which Claude is working, idle, or blocked on me. Hooks fire correctly,
but the auto-topic title overwrites the tab title mid-turn, wiping the status prefix.
No hook event fires after auto-title is set, so I can't re-emit to win the race. The only workaround is to disable auto-title.
Already requested in #21677, #23355, #39785, #44590 — please prioritize.
Environment Info
- Platform: darwin
- Terminal: ghostty
- Version: 2.1.126
- Feedback ID: 69651bb7-077d-48cd-8372-c41508fa76bf
Errors
[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/VJ/.local/share/claude/versions/2.1.126 (expected in multi-process scenarios)\n at r86 (/$bunfs/root/src/entrypoints/cli.js:2768:2177)\n at HD8 (/$bunfs/root/src/entrypoints/cli.js:2768:1257)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-03T15:12:58.307Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗