claude-code - 💡(How to fix) Fix [BUG] Pressing 'Escape' doesn't close the /BTW conversation when the main conversation is asking for approval

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

Error Messages/Logs

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

When the main conversation is performing a task and you run /btw, the "BTW" message is open and positioned at the bottom of the terminal with "Esc to close".

If the main conversation is asking for permission to run a command or read a file or anything, that appears up above and less visually prevalent than the BTW content, and in some/most cases partially/fully off screen.

The user then presses 'Escape' to close the BTW conversation but it doesn't close it. It deny's the main conversations permission request and aborts the job it was doing.

Pressing escape again, closes the BTW window. The user then needs to ask the main conversation to resume.

What Should Happen?

I would expect the BTW window to close. But either way this is going to be ambiguous.

I would suggest changing the /btw close button to something other than 'Escape'.

Error Messages/Logs

Steps to Reproduce

  1. Open a conversation and ask it to perform a task where you will need to give tool permissions.
  2. While the task is in progress use /btw and wait for a response
  3. Wait for a tool permission request in the main conversation
  4. Press escape

Claude Model

Not sure / Multiple models

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

v2.1.153

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

IntelliJ IDEA terminal

Additional Information

No response

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING