node-copy-paste
node-copy-paste copied to clipboard
A command line utility that allows read/write (i.e copy/paste) access to the system clipboard.
xclip works with the x11 display protocol, but it does not work with the wayland display protocol. Can you support the wayland Display protocol?
This fixes 'paste' on WSL. Before it would print something that was not a string - a buffer I guess. It also passes all tests on WSL. It also passes...
const ncp = require('copy-paste') ncp.copy({ x: function(y){return y} }) expected: {x: function(y){return y}} actual output: { x: [Function: x] } hoping to fix it
On Ubuntu this simplist example makes your program hang (not automatically quit): ``` js var copyToClipboard = require('copy-paste'); copyToClipboard.copy('OOOOOOOOOOOOOOOOOOK'); ```
xref https://github.com/VSCodeVim/Vim/issues/1299 For me, on Windows, the `paste` function is noticeably slow - on the order of 1 second. I'm assuming the bottleneck is the vbscript, wondering if there is...
Copy and paste of some unicode chars is not working.
Resolves #40 ##### The problem - We have been encoding data to copy as UTF-16LE, which should be fine! - Unfortunately Windows (specifically clip.exe) appears to use the dreaded [`isTextUnicode`](https://en.wikipedia.org/wiki/Bush_hid_the_facts)...
In Windows if `__dirname` points to a folder which is inside any folder with a space in it's name then when trying to execute the 'paste' fallback it would fail...
Hi there, Thank for this awesome module. I am using Ubuntu and every time I close my node app, the clipboard goes blank. Is it possible to have it stay...
This happens around 30% of the time.