X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;ds=sidebyside;f=misc.c;h=1bc963b0d465ca07d99108b0570e363a36cde481;hb=7e5448e9740f211771262dbd4870aedf88c8f3a4;hp=8d5a296d61e2068ae19deafc228c35547da46d35;hpb=42189d79d7b33d5543688d77fa5e7b209452b8d1;p=open-adventure.git diff --git a/misc.c b/misc.c index 8d5a296..1bc963b 100644 --- a/misc.c +++ b/misc.c @@ -894,6 +894,10 @@ long I, VAL; } else { if (logfp) IGNORE(fputs(INLINE+1, logfp)); + else if (!isatty(0)) { + IGNORE(fputs("> ", stdout)); + IGNORE(fputs(INLINE+1, stdout)); + } LNLENG=0; for (I=1; I<=sizeof(INLINE) && INLINE[I]!=0; I++) { VAL=INLINE[I]+1;