-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
https://jdhao.github.io/2021/01/05/nvim_copy_from_remote_via_osc52/
microsoft/terminal#2946
https://www.reddit.com/r/commandline/comments/mqyjby/where_can_i_learn_more_about_osc52/
The OSC 52 escape sequence allows programs to paste text to the clipboard over (plain terminal), SSH, telnet, or anything that provides a full ASCII byte stream to a compatible terminal such as Kitty, iTerm2, tmux, screen, Windows Terminal, etc.
# Shell example
echo "my message" | sh -c 'printf "\033]52;c;%s\a" "$(base64)"'Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels