(feat): add osc52 support
This commit is contained in:
parent
ff50325ade
commit
e08ef74fa4
4 changed files with 43 additions and 1 deletions
9
bin/osc52_copy
Executable file
9
bin/osc52_copy
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
#!/bin/bash
|
||||
# OSC52로 클립보드에 복사하는 스크립트
|
||||
if [ -t 0 ]; then
|
||||
input="$*"
|
||||
else
|
||||
input="$(cat)"
|
||||
fi
|
||||
printf '\033]52;c;%s\a' "$(printf "%s" "$input" | base64 | tr -d '\r\n')"
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue