Skip to content

OSC 52 clipboard support on macOS #33

Description

@Mxmilu666

Hi, I'm running Claude Code through agentc on macOS:

agentc run -c claude --

Claude Code uses OSC 52 for copying text when running inside the container, but Apple's Terminal.app doesn't support OSC 52 clipboard writes, so copying doesn't work.

Would it be possible for agentc to intercept OSC 52 and write the decoded content to the macOS clipboard?

Something like:

container → OSC 52 → agentc → macOS clipboard

Maybe this could be optional since it allows programs inside the container to modify the host clipboard.

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions