You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

23 lines
460 B

  1. #ifndef _COLORS_H_
  2. #define _COLORS_H_
  3. #define RST "\x1B[0m"
  4. #define KRED "\x1B[91m"
  5. #define KWARN "\x1B[93m"
  6. #define KGREEN "\x1B[92m"
  7. #define KBLUE "\x1B[94m"
  8. #define KHEADER "\x1B[95m"
  9. #define KBOLD "\x1B[1m"
  10. #define FRED(x) KRED x RST
  11. #define FWARN(x) KWARN x RST
  12. #define FBLUE(x) KBLUE x RST
  13. #define FGREEN(x) KGREEN x RST
  14. #define FHEADER(x) KHEADER x RST
  15. #define BOLD(x) "\x1B[1m" x RST
  16. #define UNDL(x) "\x1B[4m" x RST
  17. #endif /* __COLORS_H_ */