From: Eric S. Raymond Date: Wed, 24 May 2017 02:29:24 +0000 (-0400) Subject: Make output from replays easier to interpret by adding prompts. X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=97b00dfb147534b2ac86bacbb4445bdb2a0ecdbb;p=open-adventure.git Make output from replays easier to interpret by adding prompts. --- diff --git a/misc.c b/misc.c index 1ca50d8..680f9ff 100644 --- a/misc.c +++ b/misc.c @@ -894,8 +894,10 @@ long I, VAL; } else { if (logfp) IGNORE(fputs(INLINE+1, logfp)); - else if (!isatty(0)) + 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;