[Bug] Prompt box `--name` label renders inconsistently in concurrent sessions
Bug Description
Title: --name display name missing from prompt box on some windows (v2.1.118)
claude --help documents -n, --name <name> as "shown in the prompt box,
/resume picker, and terminal title". However the prompt-box label is
intermittently absent.
Environment:
- Claude Code v2.1.118
- macOS Darwin 25.4.0, tmux (status off, automatic-rename off)
- 3 concurrent Claude instances with different --name values:
claude --name "<project-a>/main - Claude"
claude --name "<project-b>/<branch> - Claude"
claude --name "<project-c>/main - Claude"
Reproduction:
1. Start multiple sessions above in separate tmux windows
2. Switch between windows and observe the prompt box
Expected: the --name value is always rendered as a label above the
input box.
Actual: the label appears on some windows and not others, with no
obvious trigger. Compared two screenshots where the only difference
is: one shows "Cooked for Xm Ys" (label visible), the other shows
"Worked for Xm Ys" + N tasks summary (label hidden). Terminal
width, Image in clipboard indicator state, and input-box emptiness
are identical.
No related option found in settings.json docs or CHANGELOG.
Cannot find a user-controlled way to force-show the label.
Environment Info
- Platform: darwin
- Terminal: tmux
- Version: 2.1.118
- Feedback ID: f73640ee-58bb-4dfe-b1e2-92d130ab6a03
Errors
[]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗