Variable: term-input-sender
term-input-sender is a variable defined in term.el.gz.
Value
term-simple-send
Documentation
Function to actually send to PROCESS the STRING submitted by user.
Usually this is just term-simple-send, but if your mode needs to
massage the input string, this is your hook. This is called from
the user command term-send-input. term-simple-send just sends
the string plus a newline.
Source Code
;; Defined in /usr/src/emacs/lisp/term.el.gz
(defvar term-input-sender #'term-simple-send
"Function to actually send to PROCESS the STRING submitted by user.
Usually this is just `term-simple-send', but if your mode needs to
massage the input string, this is your hook. This is called from
the user command `term-send-input'. `term-simple-send' just sends
the string plus a newline.")