title: iterm2+ohmyzsh: stray characters on terminal from the previous command
body: <p>Sometimes the commands are persisted in the terminal if I use the up arrow key to re-run the command.<br />
  Using backspace doesn't clean the whole terminal as seen in the screenshot.<br />
  <code>git</code> command can be seen existing multiple times.</p>
  <p>This sometimes issue is seen even when the pervious command is edited, cursor becomes invisible and editing becomes impossible.</p>
  <p>I am on Catalina.</p>
  <p>zsh: stable 5.8 (bottled), HEAD</p>
  <p><a href="https://i.stack.imgur.com/Nm2SX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Nm2SX.png" alt="enter image description here" /></a></p>