Subject: bug#50186: Shell in emacs very annoying using zsh

From: Juri Linkov <[email-masked]>
Date: Fri, 27 Aug 2021 19:57:58 +0300

>> This is called "prompt", and you can change such multi-line prompt in zsh
>>
>>   PROMPT=$'%~\n%# '
>>
>> simply by removing \n.  Then the prompt will stay on one line.
>
> And is it a known limitation of shell that multi-line prompts cause
> problems?

Actually, I see no problems with multi-line prompts in Emacs.
I tried to use "\n" in PS1 in bash, and then run M-x shell.
No problems noticed :)