Function: term-kill-input

term-kill-input is an interactive and byte-compiled function defined in term.el.gz.

Signature

(term-kill-input)

Documentation

Kill all text from last stuff output by interpreter to point.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/term.el.gz
(defun term-kill-input ()
  "Kill all text from last stuff output by interpreter to point."
  (interactive)
  (let* ((pmark (process-mark (get-buffer-process (current-buffer))))
	 (p-pos (marker-position pmark)))
    (when (> (point) p-pos)
      (kill-region pmark (point)))))