Weird paste string appends to my text when pasting from my clipboard manager (Ditto) to MobaXTerm

338 Views Asked by At

When selecting some entries from my Ditto clipboard manager with the keybind (Ctrl+q)enter image description here

And then pasting it on the MobaXTerm program, a weird string appends to the text and then I'll have to delete it, which is pretty anoying.
enter image description here

As you see the string should look like this: csi-node-driver-hx77z but instead it looks like this: ^[[200~csi-node-driver-hx77z~

2

There are 2 best solutions below

0
On

The same problem was occurring with me today. I discovered that the error occurs only the first time I paste the memory content using the mouse right click.

Workaround:

  1. Mouse right click => it pastes wrongly ^[[200~...
  2. Press CTRL+C to ignore the command. The system goes to the next line
  3. Mouse right click again and it should paste the content correctly now
1
On
vim ~/.inputrc

# disable 
set enable-bracketed-paste 0

# wq # save

exit the terminal then login again, just paste some words in terminal, nothing dirty my terminal again...

it works for me!!!