SessionStart hook additionalContext banner disappears on terminal resize
Resolved 💬 3 comments Opened Mar 13, 2026 by tbkraf08 Closed Mar 17, 2026
When a SessionStart hook outputs additionalContext via JSON on stdout, the banner text rendered in the terminal disappears when the terminal window is resized.
Repro
- Configure a SessionStart hook that outputs
additionalContextwith multi-line text - Start a new Claude Code session — banner appears correctly
- Resize the terminal window
- Banner text disappears from visible terminal output
Expected
Banner text persists or reflows correctly after resize.
Actual
Banner clears visually. The context IS still injected into Claude's system message — purely a terminal rendering issue. Claude retains full access to the additionalContext data.
Environment
- Claude Code CLI (latest)
- Linux (Pop!_OS), GNOME Terminal / kitty
- Likely reproducible on macOS
Impact
Low / cosmetic. Context injection works fine — Claude retains the data.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗