small updates

This commit is contained in:
zolliker
2005-03-03 14:14:05 +00:00
parent 0677ecfbe7
commit fc12b6b1c1
7 changed files with 38 additions and 25 deletions

View File

@@ -169,7 +169,13 @@ char* readWrite(int fd, int tmo, int skip, char *find) {
n+=strlen(msg);
} else {
term_clear();
fputs(msg, stdout);
if (strncmp(msg, "ERROR:", 6)==0) {
fputs("\033[1;31m", stdout);
fputs(msg, stdout);
fputs("\033[0m", stdout);
} else {
fputs(msg, stdout);
}
if (chr=='\n') fputs("\n", stdout);
}
if (go) break;