From 4840e18a46119638266b7b5e2885b262e9237848 Mon Sep 17 00:00:00 2001 From: Kai Stevenson Date: Tue, 6 Dec 2022 23:36:32 -0800 Subject: added background color --- console.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'console.h') diff --git a/console.h b/console.h index 3437f82..796d009 100644 --- a/console.h +++ b/console.h @@ -1,12 +1,9 @@ #ifndef CONSOLE #define CONSOLE -#define ANSI_COLOR_RED "\x1b[31m" -#define ANSI_COLOR_GREEN "\x1b[32m" -#define ANSI_COLOR_YELLOW "\x1b[33m" -#define ANSI_COLOR_BLUE "\x1b[34m" -#define ANSI_COLOR_MAGENTA "\x1b[35m" -#define ANSI_COLOR_CYAN "\x1b[36m" -#define ANSI_COLOR_RESET "\x1b[0m" +#define COLOR_CHESS_WHITE "\033[1;93;107m" +#define COLOR_CHESS_BLACK "\033[1;93;100m" +#define COLOR_WARN "\033[5;31;49m" +#define COLOR_RESET "\033[0m" void draw_board(int board[8][8]); vector_t user_input_pos(); -- cgit v1.3.1