See the screenshot. I typed one long line in the buffer, didn't hit enter but cursor is already on line 3.
This causes multiple problems, eg. when I copy the output of a command from ansi-term to another buffer then it's copied with these additional newlines.
My expectation is that cursor in the above example would still stay at line 1. How can I make ansi-term work like that?