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
Add escape for reading clipboard #2966
Add escape for reading clipboard #2966
Conversation
Are we trying to follow what xterm does or we'd have our own approach on handling this? Just reading through xterm spec https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h3-Operating-System-Commands . It seems it's a bit more tricky then just check first char of
|
That's correct, however I don't think we need to support the full spec. Our clipboard library doesn't even support all these different buffers, so there's no way we could support them. So we just support the part of the spec that is most likely to be used. So we do I think that's a reasonable minimal implementation to follow and I don't expect that we really need to support any more than this. Considering how most terminal emulators (like VTE and URxvt) don't support this at all and even XTerm requires configuration to support setting the clipboard data. |
I'm not worry about supporting full spec, I worry about your |
Honestly I don't 100% know myself how the other buffers work, but So I think we should be good the way we're doing it here. We're not supporting If you want to test it yourself and find anything else, please let me know. But I think our behavior should be correct for the things we do support. |
That's what I'd like to hear. I was wondering whether I can write to Selection and Clipboard, by sending just one escape, since xterm spec says, you can pass more then one char, but doesn't emphasize that So, looks good to me. |
No description provided.