Memory vault

An attemp to store volatile memories

View My GitHub Profile

Fixing strange chars in terminal when pasting


  • Sometimes when you paste text in the terminal strange chars appear before and after the text, like this:

Original text in clipboard:


Pasted text:


This is because for some reason bracketed paste mode has been activated in that terminal. To solve it, you simply have to disable it using:

 printf "\e[?2004l"