Add support for OSC 52 clipboard to work over mosh/without X11

This commit is contained in:
Daniel Lundin 2019-10-29 14:16:27 +01:00
parent 9a7fe73014
commit 9c26972292
2 changed files with 11 additions and 1 deletions
bin

3
bin/clip Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
set -eo pipefail
printf "\033]52;c;$(base64 -w0)\a"