Expand description
Clipboard copy through the terminal’s OSC 52 escape.
Structs§
- TooLarge
- The text was longer than
MAX_COPY_BASE64once encoded.
Constants§
- MAX_
COPY_ BASE64 - Largest base64 payload sent; terminals such as xterm drop longer OSC 52 sequences.
Functions§
- osc52
- The OSC 52 sequence that puts
texton the clipboard of the terminal reading it.