Add user-configurable terminal title prefix for todo display
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
Title: Add user-configurable terminal title prefix for todo display
Description:
Claude Code displays the current todo item in the terminal tab title (e.g., "3 Layout Redesign"), which is very useful for tracking work across multiple terminal tabs.
Problem: Users cannot customize this title with their own prefix to identify which project/session the tab belongs to.
Requested features:
- titlePrefix setting in .claude/settings.json - e.g., "titlePrefix": "ImageSys" ? displays "ImageSys: 3 Layout Redesign"
- titleFormat setting for full control - e.g., "titleFormat": "$PREFIX | $TODO_NUM $TODO_TEXT"
- Option to disable todo-based title updates: "updateTerminalTitle": false
- Immediate title reset when todo list is cleared (currently caches old title)
Use case: Running multiple Claude Code sessions in different projects - need to distinguish tabs at a glance.
Proposed Solution
Requested features:
titlePrefix setting in .claude/settings.json - e.g., "titlePrefix": "ImageSys" ? displays "ImageSys: 3 Layout Redesign"
titleFormat setting for full control - e.g., "titleFormat": "$PREFIX | $TODO_NUM $TODO_TEXT"
Option to disable todo-based title updates: "updateTerminalTitle": false
Immediate title reset when todo list is cleared (currently caches old title)
Alternative Solutions
_No response_
Priority
Medium - Would be very helpful
Feature Category
CLI commands and flags
Use Case Example
_No response_
Additional Context
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗