Expand description
§Copy and Save
The last command’s plain output, as an OSC 52 clipboard sequence (Ctrl-Y)
or as a file (save).
Enums§
- Save
Error - Why
savewrote nothing.
Constants§
- OSC52_
MAX_ PAYLOAD - The most base64 bytes Ctrl-Y sends. Terminals drop larger OSC 52 writes.
- SAVE_
ESCAPE - What
savesays when a relative path leaves the current directory. - SAVE_
USAGE - The usage line for
save.
Functions§
- fits_
osc52 - True when the OSC 52 payload for
textstays within the cap. - osc52
- The OSC 52 sequence that puts
texton the system clipboard. - save
- Runs
save <file> [--force]over the last output. Returns the note to show on success, or the reason nothing was written.