-
-
Notifications
You must be signed in to change notification settings - Fork 145
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
Clipboard read on visual select #51
Comments
The clipboard support is optional. The example writes selected text to clipboard because of this line. vim.wasm/wasm/example/index.js Line 57 in 01c2482
However if you're using vim.wasm in your project, you can just remove the line then selected text won't be written to clipboard. |
I want to have the clipboard, I just don't want it to write to it everytime I visually select a line |
Isn't your |
FYI, this is the behaviour observed on https://rhysd.github.io/vim.wasm/ |
OK, thanks. I could confirm it. |
Describe the bug
When I visual select some code, I notice that it's triggering the onWriteClipboard
Steps To Reproduce
Expected behavior
No clipboard when visual selecting
Actual behavior
Clipboard when visual selecting
Your environment
Additional context (if any)
The text was updated successfully, but these errors were encountered: