Skip to content

Copy to clipboard using OSC52 #3209

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Kazmirchuk opened this issue Mar 17, 2025 · 1 comment
Open

Copy to clipboard using OSC52 #3209

Kazmirchuk opened this issue Mar 17, 2025 · 1 comment
Labels

Comments

@Kazmirchuk
Copy link




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.

Copy link

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

@github-actions github-actions bot added the stale label Apr 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant