Skip to content

[BUG] Copy-paste does not work #66192

Description

@nvankita

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?

  • Version: 2.1.168
  • Terminal: Termius on Mac, SSH to remote Linux
  • Behavior: copy-paste within Claude session stopped working after recent update; OSC 52 messages appear but clipboard not set

What Should Happen?

Simple CMD+C (copy) CMD+V(paste) should work

Error Messages/Logs

sent # chars via OSC 52. if paste fails, hold shift (option in iTerm2, Fn in terminal.ap ) while selecting for native copy.

Steps to Reproduce

Simply copy & paste some text within the same claude session

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.1.168

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:tuibugSomething isn't workingplatform:macosIssue specifically occurs on macOS

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions