@AlexeyKupershtokh Actually I don't think `displayPrompt(true)` would matter in this case. The bufferedCommand already gets reset to `''`' so the cursor ends up in the same place regardless.

@isaacs I've tried adding the preliminary `\n` char, but it seems that changes the behavior of normal, synchronously caught exceptions. i.e. _all_ repl errors are now being caught by the domain. I'm not sure if this is the desired behavior or not...