Yes, that would be good.  Also, it should write a \n before the error stack, so that it isn't to the right of the typed line.

Patch welcome.