[BUG] Pressing 'Escape' doesn't close the /BTW conversation when the main conversation is asking for approval

Open 💬 4 comments Opened May 28, 2026 by DaveRune

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] 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_

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗