Function: term-goto

term-goto is a byte-compiled function defined in term.el.gz.

Signature

(term-goto ROW COL)

Source Code

;; Defined in /usr/src/emacs/lisp/term.el.gz
(defun term-goto (row col)
  (term-handle-deferred-scroll)
  (cond ((and term-current-row (>= row term-current-row))
	 ;; I assume this is a worthwhile optimization.
	 (term-vertical-motion 0)
	 (setq term-current-column term-start-line-column)
	 (setq row (- row term-current-row)))
	(t
	 (term-goto-home)))
  (term-down row)
  (term-move-columns col))