claude-code - 💡(How to fix) Fix /copy skips interactive picker when code blocks are present [1 comments, 2 participants]

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…
GitHub stats
anthropics/claude-code#47875Fetched 2026-04-15 06:39:49
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Timeline (top)
labeled ×3commented ×1cross-referenced ×1

/copy no longer shows the interactive picker to select individual code blocks vs the full response. It copies the entire response (including conversational text) directly to clipboard.

Root Cause

/copy no longer shows the interactive picker to select individual code blocks vs the full response. It copies the entire response (including conversational text) directly to clipboard.

Code Example

Copied to clipboard (775 characters, 12 lines)
Also written to /tmp/claude/response.md
RAW_BUFFERClick to expand / collapse

Description

/copy no longer shows the interactive picker to select individual code blocks vs the full response. It copies the entire response (including conversational text) directly to clipboard.

Expected behavior

Per the docs: "When code blocks are present, shows an interactive picker to select individual blocks or the full response."

The picker should appear when the response contains fenced code blocks, allowing the user to select specific blocks.

Actual behavior

/copy copies the full response without showing any picker, even when the response contains multiple fenced code blocks.

Output:

Copied to clipboard (775 characters, 12 lines)
Also written to /tmp/claude/response.md

Environment

  • Claude Code version: 2.1.107
  • OS: macOS (Darwin 25.4.0)
  • Shell: zsh

extent analysis

TL;DR

The /copy command may need an update or a configuration change to restore the interactive picker for selecting individual code blocks.

Guidance

  • Verify that the response contains valid fenced code blocks, as the picker is expected to appear only when these are present.
  • Check the documentation for any updates or changes to the /copy command's behavior in Claude Code version 2.1.107.
  • Test the /copy command with a response containing a single fenced code block to see if the issue is specific to multiple code blocks.
  • Consider checking for any existing issues or discussions in the Claude Code community or support channels related to this functionality.

Example

No code snippet is provided as the issue seems related to the behavior of the /copy command rather than a code implementation.

Notes

The solution may depend on updates or fixes specific to Claude Code version 2.1.107, and the behavior might be intended or a known issue in this version.

Recommendation

Apply workaround: Given the information, it seems like there might not be a direct fix available without more context or updates from the Claude Code team. Therefore, looking for workarounds, such as manually selecting and copying code blocks, might be the most immediate solution until the issue is addressed.

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…

FAQ

Expected behavior

Per the docs: "When code blocks are present, shows an interactive picker to select individual blocks or the full response."

The picker should appear when the response contains fenced code blocks, allowing the user to select specific blocks.

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 /copy skips interactive picker when code blocks are present [1 comments, 2 participants]