Prompt duplicates when window shrinks

How can I prevent this from happening when I shrink a Konsole window?

Just hit Ctrl+L when that happens. It’ll clear the terminal.