[BUG] tui: "default" setting is ignored when attaching to a session from agent view (claude agents)
Resolved 💬 2 comments Opened May 27, 2026 by kai-cupist Closed May 31, 2026
Summary
When a session is attached from the agent view (claude agents), it is rendered in fullscreen mode regardless of the "tui": "default" setting in ~/.claude/settings.json. Sessions started directly via claude from a terminal honor the setting correctly.
Environment
- Claude Code version: 2.1.152
- OS: macOS 15.7.2 (Darwin 24.6.0)
- Relevant setting in
~/.claude/settings.json:
``json``
{
"tui": "default"
}
Expected behavior
A session attached from the agent view should respect tui: "default" and use the classic (non-fullscreen) renderer — the same as sessions started directly via claude from a terminal.
Actual behavior
Sessions attached from the agent view always render in fullscreen mode, regardless of the tui setting in settings.json.
Reproduction
- Set
"tui": "default"in~/.claude/settings.json. - Start
claudefrom a terminal — session uses the default (classic) TUI as expected. ✅ - Run
claude agentsto open the agent view. - Select a session and press
Enter(or→) to attach. - Observe: the attached session is rendered in fullscreen mode. ❌
References
- Agent view docs: https://code.claude.com/docs/en/agent-view
- TUI / fullscreen setting: https://code.claude.com/docs/en/fullscreen
- Possibly related —
tuisetting documentation gap: #48851
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗