spz-lab4/inc/color.h

23 lines
388 B
C
Raw Normal View History

2025-04-23 22:51:00 +03:00
#ifndef INC_COLOR_H
#define INC_COLOR_H
#include "config.h"
#if COLOR_ENABLE == 1
2025-05-17 13:53:32 +03:00
#define COLOR_RESET "\x1b[0m"
#define COLOR_RED "\x1b[0;31m"
#define COLOR_YELLOW "\x1b[0;33m"
#define COLOR_BLUE "\x1b[0;34m"
#define COLOR_CYAN "\x1b[0;36m"
2025-04-23 22:51:00 +03:00
#else
#define COLOR_RESET ""
#define COLOR_RED ""
#define COLOR_YELLOW ""
#define COLOR_BLUE ""
#define COLOR_CYAN ""
2025-04-23 22:51:00 +03:00
#endif
#endif