After the terminal interface relaunches, fullscreen is only restored where it is actually supported.
What's wrong with this entry?
After Claude Code relaunches its terminal interface, the handoff telling it which display mode to restore no longer forces fullscreen unconditionally. Fullscreen is now honoured only where alternate-screen rendering is actually eligible.
- The mode is carried in
CLAUDE_CODE_TUI_JUST_SWITCHED. - Fullscreen is skipped when running as a local agent, when it has been disabled, or when a crash previously turned it off automatically; the relaunch then forces no particular mode.
- A value of "default" is passed through unchanged.
CLAUDE_CODE_TUI_JUST_SWITCHED
Strings lifted out of the shipped bundle, so the claim above can be checked against them.