Skip to content
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

Support OSC52 escape sequence in terminal #17848

Open
1 task done
shahamran opened this issue Sep 15, 2024 · 1 comment
Open
1 task done

Support OSC52 escape sequence in terminal #17848

shahamran opened this issue Sep 15, 2024 · 1 comment
Labels
enhancement [core label] terminal Feedback for terminal integration, shell commands, etc

Comments

@shahamran
Copy link

Check for existing issues

  • Completed

Describe the feature

Reference:

Copied from the xtermjs issue:

ANSI OSC 52 is a sequence to transport some data from remote console app to client's clipboard. For example, tmux can use it on remote side, and xterm (terminal app), Windows terminal and a number of others -- on client side. It would be very convenient to have such a feature in xterm.js zed's terminal.

Here is a simple test which sends a string from remote to local clipboard (taken realh/roxterm#206 (comment)):

printf "\033]52;c;$(printf "%s" "blabla" | base64)\a"

Please and thank you :)

If applicable, add mockups / screenshots to help present your vision of the feature

No response

@shahamran shahamran added admin read Pending admin review enhancement [core label] triage Maintainer needs to classify the issue labels Sep 15, 2024
@notpeter notpeter added terminal Feedback for terminal integration, shell commands, etc and removed triage Maintainer needs to classify the issue admin read Pending admin review labels Sep 16, 2024
@notpeter
Copy link
Member

It appears alacritty (used for Zed's terminal) supports OSC52 so we may potentially be able to reuse some of that functionality. https://alacritty.org/config-alacritty.html#terminal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement [core label] terminal Feedback for terminal integration, shell commands, etc
Projects
None yet
Development

No branches or pull requests

2 participants