[FEATURE] Keep status line visible during permission prompts and input questions

Status Fixed / completed
Maintainer reply None cached
Activity 6 comments · opened Jan 27, 2026 · closed Mar 9, 2026

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

  1. Claude Code finishes editing files and shows "accept edits?" prompt
  2. The prompt now offers "accept + clear context" as an option
  3. User needs to decide: accept only (keep context) or accept + clear context
  4. Without the status line, user can't see context percentage to make an informed choice
  5. 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

View original on GitHub ↗

6 Comments

github-actions[bot] · 7 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/20002
  2. https://github.com/anthropics/claude-code/issues/20484
  3. https://github.com/anthropics/claude-code/issues/16645

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

marcoleejr · 7 months ago

This is not a duplicate. All three referenced issues (#20002, #20484, #16645) are closed as duplicates of each other — there is no open parent issue tracking this. This issue consolidates the request and adds a new use case related to the recently introduced "accept + clear context" prompt option.

llfaria · 6 months ago

Up! That’s really important when choosing between ‘Yes, clear context and auto-accept edits’ and ‘Yes, auto-accept edits"

bloemy7 · 6 months ago

This is a really important enhancement, it would really help!

marcoleejr · 5 months ago

Now they prompt 1 more option with the context remaining and clear-context, and the other to just continue.💪

github-actions[bot] · 5 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.