From 784c413690c71212ad9e08bb093414abd1cacc08 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Fri, 6 Aug 1999 18:01:35 +0000 Subject: zsh-3.1.6-pws-1 --- Src/loop.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Src/loop.c') diff --git a/Src/loop.c b/Src/loop.c index fd63edb5a..3432c384f 100644 --- a/Src/loop.c +++ b/Src/loop.c @@ -178,8 +178,13 @@ execselect(Cmd cmd, LinkList args, int flags) for (;;) { if (empty(bufstack)) { if (interact && SHTTY != -1 && isset(USEZLE)) { + int oef = errflag; + isfirstln = 1; str = (char *)zleread(prompt3, NULL, 0); + if (errflag) + str = NULL; + errflag = oef; } else { str = promptexpand(prompt3, 0, NULL, NULL); zputs(str, stderr); -- cgit 1.4.1