Variable: term-char-mode-buffer-read-only

term-char-mode-buffer-read-only is a customizable variable defined in term.el.gz.

Value

t

Documentation

If non-nil, only the process filter may modify the buffer in char mode.

A non-nil value makes the buffer read-only in term-char-mode, which prevents editing commands from making the buffer state inconsistent with the state of the terminal understood by the inferior process. Only the process filter is allowed to make changes to the buffer.

Customize this option to nil if you want the previous behavior.

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

Probably introduced at or before Emacs version 26.1.

Source Code

;; Defined in /usr/src/emacs/lisp/term.el.gz
(defcustom term-char-mode-buffer-read-only t
  "If non-nil, only the process filter may modify the buffer in char mode.

A non-nil value makes the buffer read-only in `term-char-mode',
which prevents editing commands from making the buffer state
inconsistent with the state of the terminal understood by the
inferior process.  Only the process filter is allowed to make
changes to the buffer.

Customize this option to nil if you want the previous behavior."
  :version "26.1"
  :type 'boolean
  :group 'term)