term-eol-on-send

term-eol-on-send is a variable defined in `term.el'.
Its value is
t


Documentation:
Non-nil means go to the end of the line before sending input.
See `term-send-input'.

You can customize this variable.