[FEATURE] Keep status line visible during permission prompts and input questions
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
The custom status line (configured via statusLine in settings.json) disappears when Claude Code displays permission prompts or input questions (e.g., "accept edits?", AskUserQuestion prompts). This removes visibility into context usage at the exact moment when that information is most needed.
Proposed Solution
Keep the status line rendered and updated during all interactive prompts. The status line should persist above or below the prompt area without interfering with user input.
Alternative Solutions
Currently the only workaround is to exit the prompt, run /cost or /context, check usage, and then re-trigger the action. This breaks the flow.
Priority
Medium - Would be very helpful
Feature Category
Interactive mode (TUI)
Use Case Example
- Claude Code finishes editing files and shows "accept edits?" prompt
- The prompt now offers "accept + clear context" as an option
- User needs to decide: accept only (keep context) or accept + clear context
- Without the status line, user can't see context percentage to make an informed choice
- With this feature, user would see e.g. "Context: 82%" in the status line and choose to clear, or see "Context: 25%" and choose to keep going
Additional Context
Related closed issues (all closed as duplicates of each other with no open parent remaining):
- #20002
- #20484
- #16645
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗