diff options
| author | bloodstalker <thabogre@gmail.com> | 2017-05-15 15:48:33 +0000 | 
|---|---|---|
| committer | bloodstalker <thabogre@gmail.com> | 2017-05-15 15:48:33 +0000 | 
| commit | 331d83ef5ded68107fd6c04a6277d347f28eebce (patch) | |
| tree | 614beb5f405374c0cb73ad6d3b473cfb35d34151 /bruiser | |
| parent | added the shell commands to the list (diff) | |
| download | mutator-331d83ef5ded68107fd6c04a6277d347f28eebce.tar.gz mutator-331d83ef5ded68107fd6c04a6277d347f28eebce.zip | |
chaned some macros to fix the color problem
Diffstat (limited to 'bruiser')
| -rw-r--r-- | bruiser/bruiser.h | 8 | 
1 files changed, 5 insertions, 3 deletions
| diff --git a/bruiser/bruiser.h b/bruiser/bruiser.h index 7e4e6ae..4e9c2e7 100644 --- a/bruiser/bruiser.h +++ b/bruiser/bruiser.h @@ -79,17 +79,19 @@ namespace bruiser  #define NOT_IMPLEMENTED \    do{\ -    std::cout << BROWN << "not implemented yet\n" << NORMAL;\ +    printf(BROWN "not implemented yet.");\ +    printf(NORMAL"\n");\    }while(0)  #define  PRINT_WITH_COLOR(X,Y) \    do{\ -    std::cout << X << Y << NORMAL;\ +    printf(X Y NORMAL);\    }while(0)  #define  PRINT_WITH_COLOR_LB(X,Y) \    do{\ -    std::cout << X << Y << "\n" << NORMAL;\ +    printf(X "%s", Y);\ +    printf(NORMAL"\n");\    }while(0)  /**********************************************************************************************************************/  /*Error Codes*/ | 
