term-input-sender
term-input-sender is a variable defined in `term.el
'.
Its value is term-simple-sendDocumentation: 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.