-
Notifications
You must be signed in to change notification settings - Fork 683
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use clipboardy #130
Use clipboardy #130
Conversation
@@ -1,5 +1,5 @@ | |||
// Packages | |||
const {copy} = require('copy-paste') | |||
const {write: copy} = require('clipboardy') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clipboardy.write
returns a promise already so the promisify
call below is unnecessary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@AndyBitz can you share the setup? Is it cygwin? What does |
I'm using xsel returns |
@AndyBitz is calling |
@floatdrop returns |
@AndyBitz patch to |
@floatdrop yes it is 1 |
@AndyBitz patch released as |
c5f7786
to
d7dc95c
Compare
d7dc95c
to
68f3e8e
Compare
@floatdrop Perfect! Everything works fine! |
Sweet! 😏 Thx. |
It uses
xsel
which is more reliable and bundled with package to get things working on linux out of the box.