Fixing terminal resize prompt garbage.