Skip to content

Copy to clipboard using OSC52 #3209

Closed as not planned
Closed as not planned

Description

@Kazmirchuk




Is your feature request related to a problem? Please describe.
Currently copying to clipboard requires xclip, X11 forwarding and a local X11 server.

Describe the solution you'd like
Terminal sequence OSC 52 allows to write data to local clipboard without relying on X11. It is widely supported by terminal emulators and TUI applications, e.g. micro. Quick search shows a Go package that might help.

Additional context
I use Windows Terminal to connect over SSH to a remote headless Ubuntu control node running k9s.

Activity

  1. github-actions commented on Apr 29, 2025

    @github-actions

    This issue is stale because it has been open for 30 days with no activity.

  2. benglewis commented on Nov 10, 2025

    @benglewis

    This would be really nice. I think that it would also work over SSH, where now it seems like none of the other options work. I'd be happy to try contributing 🙏

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions