From 2bc887c84efbcd9ea4ae589d29285bc187173e9a 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)) { -- 2.31.1