eshell-reset

eshell-reset is a compiled Lisp function in `esh-mode.el'.

(eshell-reset &optional NO-HOOKS)

Output a prompt on a new line, aborting any current input.
If NO-HOOKS is non-nil, then `eshell-post-command-hook' won't be run.