projects
/
open-adventure.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63efff1
)
Make output from replays easier to interpret by adding prompts.
author
Eric S. Raymond
<esr@thyrsus.com>
Wed, 24 May 2017 02:29:24 +0000
(22:29 -0400)
committer
Eric S. Raymond
<esr@thyrsus.com>
Thu, 23 Mar 2023 15:28:53 +0000
(11:28 -0400)
misc.c
patch
|
blob
|
history
diff --git
a/misc.c
b/misc.c
index 1ca50d857c90a151ea8dad5630a67593ba732d81..680f9ff48521df346d8c6ad9cd8c1776e87c22ae 100644
(file)
--- 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;