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:
484ca4e
)
Fix the slightly broken prompt test.
author
Eric S. Raymond
<esr@thyrsus.com>
Wed, 24 May 2017 04:28:38 +0000
(
00:28
-0400)
committer
Eric S. Raymond
<esr@thyrsus.com>
Wed, 24 May 2017 04:28:38 +0000
(
00:28
-0400)
misc.c
patch
|
blob
|
history
diff --git
a/misc.c
b/misc.c
index 6987d254788a4f961269de5d4060724bfc2aaab0..a08720cbeb20b08cd7414d20eb743343bb3f1d83 100644
(file)
--- 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)) {