Function: eshell-kill-output
eshell-kill-output is an interactive and byte-compiled function
defined in esh-mode.el.gz.
Signature
(eshell-kill-output)
Documentation
Kill all output from interpreter since last input.
Does not delete the prompt.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/eshell/esh-mode.el.gz
(defun eshell-kill-output ()
"Kill all output from interpreter since last input.
Does not delete the prompt."
(interactive)
(save-excursion
(goto-char (eshell-beginning-of-output))
(insert "*** output flushed ***\n")
(delete-region (point) (eshell-end-of-output))))