[Feature Request] Add option to disable terminal title updates
Summary
Please add a configuration option to disable terminal title updates (\x1B]0;title\x07 OSC escape sequences).
Use Case
On Termux (Android terminal emulator), terminal title changes trigger a visual notification that appears at the bottom of the screen, directly over the input area. Since Claude Code updates the title when detecting new conversation topics, this causes constant visual disruption that makes it difficult to see what is being typed.
Current Behavior
Claude Code sets the terminal title:
- At startup (
process.title="claude") - When a new conversation topic is detected (via AI analysis)
The title is set using the OSC escape sequence \x1B]0;title\x07.
Requested Behavior
Add a configuration option (e.g., terminalTitle: "disabled" or disableTerminalTitle: true) to prevent Claude Code from writing title escape sequences.
This could be added to the existing config system accessible via /config.
Environment
- Platform: Termux (Android terminal emulator)
- The title update itself works correctly; the issue is that Termux's notification overlay interferes with usability
Workaround Attempted
There is currently no workaround. Setting TERM=dumb may help but degrades the entire terminal experience.
Related
This is a Termux-specific UX issue, but having the option to disable title updates would benefit any terminal environment where title changes are disruptive.
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗