Unbreak the tests.

linenoise doesn't eco its prompt to stdout, which messed them up.
This commit is contained in:
Eric S. Raymond 2017-06-10 05:35:35 -04:00
parent 63e971fc4c
commit 4c5474121f

2
misc.c
View file

@ -730,6 +730,8 @@ bool MAPLIN(FILE *fp)
* and is not changed thereafter unless the routines on this page choose
* to do so. */
if (!oldstyle && !isatty(1))
fputs("> ", stdout);
do {
if (oldstyle) {
IGNORE(fgets(rawbuf,sizeof(rawbuf)-1,fp));