1

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~

GBT55
  • 83
  • 5
  • This is due to bracketed paste being enabled: https://superuser.com/questions/1532688/pasting-required-text-into-terminal-emulator-results-in-200required-text – Ieuan Mar 16 '23 at 07:25

1 Answers1

1
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!!!

geekyouth
  • 121
  • 8
  • This works, but having to do it manually on each device accessed by ssh is a bit of a pain. Not to say that there are some terminals where I won't be able to create or edit this file (for security reasons). Ty anyway man – GBT55 Mar 27 '23 at 14:49