Terminal window displays odd text after being resized
It's a bug caused by Terminal's automatic text rewrapping combined with your shell's SIGWINCH re-rendering. If you just want to clear the corrupted text, you can use Edit-&gt;Clear All (default shortcut  ⌘   +  K ) to clear the window, leaving only the prompt.