[Bug] /copy command missing interactive block picker for code selection

Resolved 💬 0 comments Opened Jun 9, 2026 by haoyedangkong Closed Jun 15, 2026

Bug Description
Title: /copy no longer shows the interactive block picker when code blocks are present

Version: 2.1.169 (Claude Code) — latest on npm
Platform: macOS (Darwin 25.5.0), shell: fish

Expected:
Per the docs, when an assistant response contains code blocks, /copy should
show an interactive picker to select an individual code block or the full
response (with w to write to a file).

Actual:
/copy (and /copy 1, /copy 2) silently copies the ENTIRE response to the
clipboard. No picker is shown, even when the response clearly contains a fenced
code block (``markdown ... ``). There is no way to copy only the code-block
content.

Repro:

  1. Have the assistant produce a response containing a fenced code block plus

surrounding prose.

  1. Run /copy (or /copy 1).
  2. Observe: stdout reports "Copied to clipboard (N characters, M lines)" and the

whole response (prose + code block) is copied — no interactive picker appears.

Notes:

  • Confirmed on the latest version (npm latest == 2.1.169), so this is not a

version-lag issue.

  • The previously available "copy all vs. copy only markdown/code" selection

appears to be gone.

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.1.169
  • Feedback ID: 75fd672e-69b8-4c5c-8a02-64d6eaaa08cc

View original on GitHub ↗