claude-code - 💡(How to fix) Fix Opening /btw panel pauses running process; closing panel kills it

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 a long-running task is in progress, opening the /btw (by the way) side panel causes the main Claude process to stop responding — it pauses execution and does not continue the task. If the /btw panel is then closed, the running process is killed entirely and cannot be recovered.

What Should Happen?

Opening /btw should be non-destructive: the main process should continue running in the background while the side panel is open. Closing /btw should return focus to the ongoing task without interrupting or terminating it.

Error Messages/Logs

Steps to Reproduce

  1. Start a long-running task in Claude Code (e.g., a multi-step code generation or file editing task).
  2. While the task is running, type /btw to open the side panel.
  3. Observe that the main process stops responding — task execution is paused.
  4. Close the /btw panel.
  5. Observe that the running process is now terminated entirely.

Related issues: #63092 (Escape in /btw aborts main job), #33313 (permission prompts not shown in /btw, agent hangs)

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.1.158 (Claude Code)

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Other

Additional Information

Terminal: Alacritty on i3wm (Linux/Ubuntu). The issue is 100% reproducible — every time /btw is opened mid-task, the main process halts, and every time it is closed, the process is killed.

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

claude-code - 💡(How to fix) Fix Opening /btw panel pauses running process; closing panel kills it