There are one character string line in my leafpad.
sudo apt-get install ctags
When to copy and paster it with mouse into command console,0~ was added at the beginning of the character string line ,and 1~ was added at the end of it,sudo apt-get install ctags turns out to be 0~sudo apt-get install ctags1~.
Why and how to fix it?

Looks like bracketed paste mode is enabled.
In this case, enter the following command in your terminal to disable it
printf "\e[?2004l"
If your are interested in this feature, here is a nice introduction:
bracketed paste mode
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With