aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2017-05-15 15:48:33 +0000
committerbloodstalker <thabogre@gmail.com>2017-05-15 15:48:33 +0000
commit331d83ef5ded68107fd6c04a6277d347f28eebce (patch)
tree614beb5f405374c0cb73ad6d3b473cfb35d34151
parentadded the shell commands to the list (diff)
downloadmutator-331d83ef5ded68107fd6c04a6277d347f28eebce.tar.gz
mutator-331d83ef5ded68107fd6c04a6277d347f28eebce.zip
chaned some macros to fix the color problem
-rw-r--r--bruiser/bruiser.h8
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*/