Skip to content

OSC 52 clipboard support for SSH/mosh #1069

@gturkoglu

Description

@gturkoglu

/copy fails over SSH with "install xclip or xsel" but my terminal supports OSC 52 just fine. Would be nice if pi detected remote sessions and used OSC 52 instead of trying native clipboard tools.

PR #415 already did this for OAuth URLs. Same approach for copyToClipboard() in packages/coding-agent/src/utils/clipboard.ts.

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