Show statusline or session context during permission prompts
Problem
When a permission prompt appears (tool approval dialog), the statusline is hidden. This is the exact moment where session context is most valuable — you're deciding whether to approve an action, perhaps even after context-switching between tabs or stepping away.
The permission prompt can be tall (multi-line bash commands, file paths, etc.), and scrolling up may not surface relevant context about what the session is doing. The only footer is Esc to cancel · Tab to amend · ctrl+e to explain — functional, but provides very little orientation about the current task.
Why this matters
- Multi-session workflows: Users running multiple Claude Code sessions in parallel lose their "where am I?" anchor when a permission prompt fires
- Context switching: After switching tabs or returning from another task, a large permission prompt provides very little orientation about the session's purpose
- Decision quality: Approving/denying a tool call is a judgment call that benefits from knowing what task the agent is pursuing
Suggestion
Show the statusline (or a condensed version of it) during permission prompts. Alternatively, a keyboard shortcut to briefly display the statusline while in the permission prompt would help — similar to how ctrl+e toggles an explanation of the tool call.
If full statusline rendering during the permission UI is complex, even a minimal context line (e.g., the current working directory or a user-defined session label) above the prompt body would help.
Environment
- Terminal: Ghostty (custom statusline command configured)
- Workflow: 3-6 simultaneous Claude Code sessions
- Permission mode: default (not auto-approve)
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗