We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0ca092c + f985c54 commit 5b574fdCopy full SHA for 5b574fd
1 file changed
server/static/client.js
@@ -263,7 +263,11 @@ class NeovimClient {
263
terminal.focus();
264
});
265
266
- // Enhance the focus handler to always sync clipboard
+ terminal.addEventListener("contextmenu", (event) => {
267
+ event.preventDefault();
268
+ event.stopPropagation();
269
+ });
270
+
271
terminal.addEventListener("focus", () => {
272
if (this.connected && this.clipboardEnabled) {
273
this.sendClipboardToNeovim();
0 commit comments