Variable: term-scroll-to-bottom-on-output
term-scroll-to-bottom-on-output is a customizable variable defined in
term.el.gz.
Value
nil
Documentation
Controls whether interpreter output causes window to scroll.
If nil, then do not scroll. If t, scroll all windows showing buffer.
If this, scroll only the selected window.
If others, scroll only those that are not the selected window.
The default is nil.
See variable term-scroll-show-maximum-output.
This variable is buffer-local.
Source Code
;; Defined in /usr/src/emacs/lisp/term.el.gz
(defcustom term-scroll-to-bottom-on-output nil
"Controls whether interpreter output causes window to scroll.
If nil, then do not scroll. If t, scroll all windows showing buffer.
If `this', scroll only the selected window.
If `others', scroll only those that are not the selected window.
The default is nil.
See variable `term-scroll-show-maximum-output'.
This variable is buffer-local."
:type '(choice (const :tag "Don't scroll" nil)
(const :tag "Scroll selected window only" this)
(const :tag "Scroll unselected windows" others)
;; We also recognize `all', but we don't advertise it
;; anymore. (Bug#66071)
(other :tag "Scroll all windows" t))
:group 'term)