title: Long lines overlap in Bash PS1 prompt
body: <p>I have configured a <strong>PS1</strong> bash prompt.</p>
  
  <p>My <code>~/.bashrc</code> file:</p>
  
  <pre><code>if [[ $EUID -ne 0 ]]; then
          PS1='\n\e[0;33m☛ \W\e[0m \n\e[1;35m⤷\e[0m '
  fi
  </code></pre>
  
  <p>The problem is that the new line overlaps the previous one.
  Any idea how to fix this?</p>