Private Mode 5522 (OSC 5522 Extension) #9465
Unanswered
rockorager
asked this question in
Feature Requests, Ideas
Replies: 1 comment
-
|
Specification here: https://rockorager.dev/misc/bracketed-paste-mime/ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
As an extension to OSC 5522, which I approved support of in #8275, I am proposing an extension: private mode 5522 which enables automatic paste events in the OSC 5522 format. This mode would enable a terminal to send MIME encoded data from a standard paste event via an OSC 5522 sequence. This is currently not possible in terminals, as they - by convention - do not paste binary data. Enabling this mode supercedes mode OSC 52 and all paste events would be delivered via OSC 5522 events.
Enabling this mode allows all MIME types to be pasted. If an application cannot handle a given MIME type (IE it is operating over ssh and does not have access to a local file), it may request a given MIME type using the standard OSC 5522 sequence.
Declaring support of Mode 5522 implicitly declares support for OSC 5522.
Beta Was this translation helpful? Give feedback.
All reactions