From 20d67907c95265356b51dbdce8ecc0c1ede9e66b Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Thu, 15 Apr 1999 18:11:42 +0000 Subject: zsh-3.1.5-pws-5 --- Src/input.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Src/input.c') diff --git a/Src/input.c b/Src/input.c index 45c65b2bf..66a21000c 100644 --- a/Src/input.c +++ b/Src/input.c @@ -219,7 +219,7 @@ inputline(void) char *ingetcline, *ingetcpmptl = NULL, *ingetcpmptr = NULL; /* If reading code interactively, work out the prompts. */ - if (interact && isset(SHINSTDIN)) + if (interact && isset(SHINSTDIN)) { if (!isfirstln) ingetcpmptl = prompt2; else { @@ -227,6 +227,7 @@ inputline(void) if (rprompt) ingetcpmptr = rprompt; } + } if (!(interact && isset(SHINSTDIN) && SHTTY != -1 && isset(USEZLE))) { /* * If not using zle, read the line straight from the input file. -- cgit 1.4.1