Use C-c M-o to clear shell, as in Slime.