sindresorhus / emoj

Find relevant emoji from text on the command-line :open_mouth: :sparkles: :raised_hands: :horse: :boom: :see_no_evil:
MIT License
2.36k stars 57 forks source link

Copy to clipboard #8

Closed spaksa closed 8 years ago

spaksa commented 8 years ago

Added a copy-to-clipboard feature when the user hits the enter key. It uses the copy-paste package which covers macOS, Linux and Windows.

radiovisual commented 8 years ago

So this PR simply copies all 7 emojis to the clipboard? Issue #2 has an open discussion going on the best way to get emojis into the clipboard, with a focus on how to copy a single emoji, since a single emoji is likely to be the majority use case.

spaksa commented 8 years ago

@radiovisual yes, it copies all 7 to the clipboard. I saw the discussion after I created the PR. I'm planning on building that feature later today.

sindresorhus commented 8 years ago

@noodlesftw Any chance you could finish this up? :)

spaksa commented 8 years ago

@sindresorhus yes, will be working on it today. Will have to find another key combination since ctrl is assigned on macOS.

sindresorhus commented 8 years ago

No problem, we can use Shift or Alt instead.

sindresorhus commented 8 years ago

🌴

radiovisual commented 8 years ago

Any progress on this PR? My 💻 (terminal) is 😢 (sad), and the only way to cheer it up 🎉 will be to let it auto-copy 😄 (smiley faces) and 🍔 (hamburgers) to the clipboard.

cc: @noodlesftw 🍜

sindresorhus commented 8 years ago

Closing so other people can give it a shot. Happy to reopen if you ever get to this @noodlesftw ;)