-
Notifications
You must be signed in to change notification settings - Fork 122
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
Copy to clipboard #3
Comments
Great idea! :) Note taken, will try working on this soon. |
@mixn I'm happy to give this a go if you'd like, assuming you haven't started working on this already :) |
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 |
I just published ✅ Cross-OS 😱 Example of using it with a preset + pasting to Twitter: Thank you all for chiming in! ❤️ |
I use most of my Carbon images on Twitter to illustrate some code snippet. Would be useful if this tool could just put the image in the clipboard instead of writing to disk. For example, if I use the a
--copy
flag.The text was updated successfully, but these errors were encountered: