Bracketed Paste mode

Bracketed Paste mode – How to disable it and the bigger lesson to be learnt

Submitted by Craig on Tue, 04/07/2017 - 23:34

I came across this one day when pasting commands into my terminal on Linux only to find the value I had pasted had some strange characters in-front of it and after it. In my case the pasted text was prefixed with ‘00~’ and suffixed with ‘01~’, looking like this: