equalsraf / win32yank

Windows clipboard tool
ISC License
444 stars 22 forks source link

Upgrade clipboard-win to 4 #16

Closed austinliew closed 1 year ago

austinliew commented 1 year ago

Upgrade clipboard-win to 4, mostly sticking to the same logic as before.

I realized after doing this that there is an existing PR which sticks to the simplified APIs from clipboard-win. Not sure if there is a style preference, modulo whether or not tests pass.

I use this with neovim in wsl2 and it works fine for me.

austinliew commented 1 year ago

Actually looking at the latest clipboard-win release (4.4.2), it includes a fix (https://github.com/DoumanAsh/clipboard-win/pull/23) to allow writing an empty string into the clipboard, so tests on the other PR (https://github.com/equalsraf/win32yank/pull/15) should pass if you kick off another CI job.

equalsraf commented 1 year ago

@austinliew thanks for having a look at this.