Yes, switching to a more capable Emacs terminal emulator – Eat, in my case – fixed the echo issue for me as well.
However, my understanding – I’m new to Erlang – is that the Emacs support shipped with Erlang/OTP relies heavily on Comint, and switching to another terminal emulator means losing that integration (such as compilation and unit testing) and being left with a vanilla Erlang shell. Is indeed that the case?
We added stdlib config option shell_expand_location to reduce some of the shell-redrawing happening in the newshell, so maybe setting it to above can improve the situation a bit.
I’m sure rebar3 would appreciate a PR that fixes so that it works with oldshell.
Running a shell from Rebar3 makes all its commands available through the r3 module. As an Erlang newcomer, I can’t tell you what they would add to your current workflow.