Subject: Re: 26.0.91; ansi-term duplicates 2 line zsh prompts any time windows change (maybe other times)

From: Aaron Jensen <[email-masked]>
Date: Wed, 14 Mar 2018 08:59:55 -0700

Hi Noam,

I saw that you've been doing some term.el work recently. Do you have
an idea what could be causing this?

> emacs -Q
>
> (require 'term)
>
> M-x ansi-term
> select: zsh
>
> type at prompt:
>
> export PROMPT='one
> two $'
>
> C-x 2
>
> Expect to see the prompt as:
>
> one
> two$
>
> Instead, see:
>
> one
> one
> two$

Thanks!