Fix the slightly broken prompt test.
This commit is contained in:
parent
484ca4e9fd
commit
2bc887c84e
1 changed files with 1 additions and 1 deletions
2
misc.c
2
misc.c
|
@ -886,7 +886,7 @@ long I, VAL;
|
||||||
|
|
||||||
if(MAP2[1] == 0)MPINIT();
|
if(MAP2[1] == 0)MPINIT();
|
||||||
|
|
||||||
if (!oldstyle && isatty(0) && !SETUP)
|
if (!oldstyle && SETUP)
|
||||||
fputs("> ", stdout);
|
fputs("> ", stdout);
|
||||||
IGNORE(fgets(INLINE+1,sizeof(INLINE)-1,OPENED));
|
IGNORE(fgets(INLINE+1,sizeof(INLINE)-1,OPENED));
|
||||||
if (feof(OPENED)) {
|
if (feof(OPENED)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue