More work on the DnD protocol

This commit is contained in:
Kovid Goyal
2026-04-08 19:19:20 +05:30
parent 348151c457
commit 702f9905d2
4 changed files with 14 additions and 3 deletions

View File

@@ -293,9 +293,10 @@ code. The variants are listed in the table below:
The client program should respond to data requests with escape codes of the
form::
OSC _dnd_code ; t=e:m=0 or 1 ; base64 encoded data ST
OSC _dnd_code ; t=e:y=idx:m=0 or 1 ; base64 encoded data ST
This, is the data for requested MIME type. The data should be chunkedusing the
This, is the data for the MIME type identified by ``idx`` which is a zero based
index into the list of MIME types. The data should be chunkedusing the
``m`` key. End of data is denoted by ``m=0`` and an rmpty payload. If an error
occurs the client should send::