diff options
author | root <root@x-pk2.(none)> | 2011-05-24 20:53:28 +0800 |
---|---|---|
committer | root <root@x-pk2.(none)> | 2011-05-24 20:53:28 +0800 |
commit | 97aad38087c34536dad784be16a39477074ca379 (patch) | |
tree | 08c3cd1d9635b0b595129e104264cf3f1c1b73de | |
parent | c6dba7ff25ae61fc51ee1c44109594eaafb55ba9 (diff) |
Add some color lines.
-rw-r--r-- | testedid.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -356,11 +356,11 @@ int main(void) } int connum = getconcardlist(cardlist,edid); - printf("The connected monitor number: %d\n",connum); + printf("\33[1;;32mThe connected monitor number: %d\n\33[0m",connum); for(int i=0;i<connum;i++) { - printf("%d. Connected monitor card: %s\n",i+1,cardlist[i]->d_name); + printf("\33[1;;32m%d. Connected monitor card: %s\n\33[0m",i+1,cardlist[i]->d_name); printedid(edid[i]); analizeedid(edid[i]); } |