Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
Terminal UIArea: what it touches
Internal ChangesKind: in v2.1.326,
Internal ChangesSection of the release
What
Claude Code can relaunch its terminal interface, the text screen you work in, in a different display mode. It passes the mode to the relaunched session through environment variables, which are named settings handed to a program when it starts. A new variable, CLAUDE_CODE_TUI_ASKED, joins CLAUDE_CODE_TUI_JUST_SWITCHED. It was absent from the previous build.
CLAUDE_CODE_TUI_ASKED is set to the chosen display mode even when the relaunch is not a switch to fullscreen. Before, extra values were passed only in the fullscreen case.
When Claude Code starts a child process, a program it launches itself, it deletes CLAUDE_CODE_TUI_ASKED together with CLAUDE_CODE_TUI_JUST_SWITCHED and CLAUDE_CODE_TUI_TRIAL.
Why
The relaunched session can now tell which mode you asked for, not just whether a fullscreen switch happened. Clearing the variable for child processes stops programs Claude Code starts from inheriting it.