From fc8e678eb5335524755999adeecbb26432e7cede Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 15 Feb 2025 10:12:28 +0530 Subject: [PATCH] Change clipboard spec to specify 4096 as the max chunk size in both directions Makes it consistent and easy to remember. And there is no real reason to specify it as a hard maximum in only one direction. Fixes #8331 --- docs/clipboard.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/clipboard.rst b/docs/clipboard.rst index a0dba2d5c..260da3c31 100644 --- a/docs/clipboard.rst +++ b/docs/clipboard.rst @@ -47,7 +47,7 @@ The terminal emulator will reply with a sequence of escape codes of the form:: Here, the ``status=DATA`` packets deliver the data (as base64 encoded bytes) associated with each MIME type. The terminal emulator should chunk up the data -for an individual type. A recommended size for each chunk is 4096 bytes. All +for an individual type, into chunks of size **no more** than 4096 bytes. All the chunks for a given type must be transmitted sequentially and only once they are done the chunks for the next type, if any, should be sent. The end of data is indicated by a ``status=DONE`` packet.