small updates
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user