Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Copy to clipboard #3
I'm currently working on this, but it seems like a
@itaisteinherz I’ve already implemented this on https://github.com/mixn/carbon-now-cli/tree/feature/copy-3 and am currently resolving an issue on Linux.
It copies to clipboard flawlessly on macOS, does so on Linux too, but the reporter doesn’t exit without having to manually CTRL + C on Linux. It does copy the image though. Requires
Haven’t managed to try it on Windows yet though…
And yeah, there isn’t a module for this and doing it cross-OS with images is basically hell.
@sindresorhus Maybe you could chime in on this since I am using your lovely
On Linux, it copies properly, but doesn’t exit — it’s like the Promise is
The relevant code for this can be found in this section of
I’ve also noticed that it exits and copies properly on Linux when I use