Hello Eduardo Ochs,

> and then use Zsh a bit with comint-process-echoes set to true and a
> bit with comint-process-echoes set to nil - use `M-x det' and `M-x
> den' to change the value - to see if something changes?

First I noticed that comint-process-echoes is not defined in shell mode.
Then I switched the shell buffer to comint mode. Then, in both det and
den settings, the problem still happens.

--------
Zhou Renfei