From b0a3c821e9007cd7b9dd7afcbdfa34f3d457b182 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 24 May 2017 00:28:38 -0400 Subject: [PATCH] Fix the slightly broken prompt test. --- misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc.c b/misc.c index 6987d25..a08720c 100644 --- a/misc.c +++ b/misc.c @@ -886,7 +886,7 @@ long I, VAL; if(MAP2[1] == 0)MPINIT(); - if (!oldstyle && isatty(0) && !SETUP) + if (!oldstyle && SETUP) fputs("> ", stdout); IGNORE(fgets(INLINE+1,sizeof(INLINE)-1,OPENED)); if (feof(OPENED)) {