Variable: term-scroll-snap-to-bottom

term-scroll-snap-to-bottom is a customizable variable defined in term.el.gz.

Value

t

Documentation

Control whether to keep the prompt at the bottom of the window.

If non-nil, when the prompt is visible within the window, then scroll so that the prompt is on the bottom on any input or output.

This variable was added, or its default value changed, in Emacs 28.1.

Probably introduced at or before Emacs version 28.1.

Source Code

;; Defined in /usr/src/emacs/lisp/term.el.gz
(defcustom term-scroll-snap-to-bottom t
  "Control whether to keep the prompt at the bottom of the window.
If non-nil, when the prompt is visible within the window, then
scroll so that the prompt is on the bottom on any input or
output."
  :version "28.1"
  :type 'boolean)