Closed theimpostor closed 1 year ago
Add support for reading the clipboard, which is supported by some terminals.
Spec is here: https://invisible-island.net/xterm/ctlseqs/ctlseqs.html
Example with alacritty:
❯ printf "%s" "asdf" | base64 YXNkZg== # write 'asdf' to the clipboard ❯ printf "\033]52;c;$(printf "%s" "asdf" | base64)\a" # query the clipboard, get base64-encoded 'asdf' written to terminal ❯ printf "\033]52;c;?" ^[]52;c;YXNkZg==^[\ ❯ YXNkZg==
See also: https://github.com/rumpelsepp/oscclip
Basic paste support has been added.
Add support for reading the clipboard, which is supported by some terminals.
Spec is here: https://invisible-island.net/xterm/ctlseqs/ctlseqs.html
Example with alacritty: