Closed unxed closed 1 year ago
Hi @unxed!
pbcopy
/pbpaste
are already being used on MacOS and wl-copy
/wl-paste
(part of the wl-clipboard
package) are already being used in Wayland sessions (unixcon.cpp).
Cygwin is not supported, so the only case that's missing is WSL. Thanks for the suggestion.
Probably full paths in WSL are not required, try
cat | clip
powershell Get-Clipboard | sed 's/\r//'
first
In WSL, PowerShell was so slow and required so many workarounds that I switched to CScript. Pasting still takes a short delay but it is now a lot better.
pbcopy
andpbpaste
should be used under MacOS.Also there are separate tools for WSL and Cygwin environments. Full list here: https://gist.github.com/RichardBronosky/56d8f614fab2bacdd8b048fb58d0c0c7#file-cb
For Wayland: