summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
63e971f)
linenoise doesn't eco its prompt to stdout, which messed them up.
* and is not changed thereafter unless the routines on this page choose
* to do so. */
* 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));
do {
if (oldstyle) {
IGNORE(fgets(rawbuf,sizeof(rawbuf)-1,fp));