char *line(readline(prompt));
mode_ = Working;
- if (line == NULL)
+ if (line == NULL) {
+ *out_ << std::endl;
break;
- if (line[0] == '\0')
+ } else if (line[0] == '\0')
goto read;
if (!extra) {
Run(client_, syntax, code, out_, expand);
}
-
- *out_ << std::endl;
}
static void *Map(const char *path, size_t *psize) {