corrected color codes

This commit is contained in:
tmaze
2018-09-08 22:01:00 +00:00
parent 6de718b531
commit 82a203b2c7

38
libft.h
View File

@@ -6,7 +6,7 @@
/* By: tmaze <tmaze@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2018/04/08 00:12:36 by tmaze #+# #+# */
/* Updated: 2018/09/04 19:42:41 by tmaze ### ########.fr */
/* Updated: 2018/09/05 20:59:53 by tmaze ### ########.fr */
/* */
/* ************************************************************************** */
@@ -17,26 +17,26 @@
# include <stdlib.h>
# include <unistd.h>
# define FT_RESET "\xb1[0m"
# define FT_BOLD "\xb1[1m"
# define FT_RESET "\x1b[0m"
# define FT_BOLD "\x1b[1m"
# define FT_COLOR_BLACK "\xb1[30m"
# define FT_COLOR_RED "\xb1[31m"
# define FT_COLOR_GREEN "\xb1[32m"
# define FT_COLOR_YELLOW "\xb1[33m"
# define FT_COLOR_BLUE "\xb1[34m"
# define FT_COLOR_MAGENTA "\xb1[35m"
# define FT_COLOR_CYAN "\xb1[36m"
# define FT_COLOR_WHITE "\xb1[37m"
# define FT_COLOR_BLACK "\x1b[30m"
# define FT_COLOR_RED "\x1b[31m"
# define FT_COLOR_GREEN "\x1b[32m"
# define FT_COLOR_YELLOW "\x1b[33m"
# define FT_COLOR_BLUE "\x1b[34m"
# define FT_COLOR_MAGENTA "\x1b[35m"
# define FT_COLOR_CYAN "\x1b[36m"
# define FT_COLOR_WHITE "\x1b[37m"
# define FT_COLOR_BG_CK "\xb1[40m"
# define FT_COLOR_BG_RED "\xb1[41m"
# define FT_COLOR_BG_GREEN "\xb1[42m"
# define FT_COLOR_BG_YELLOW "\xb1[43m"
# define FT_COLOR_BG_BLUE "\xb1[44m"
# define FT_COLOR_BG_MAGENTA "\xb1[45m"
# define FT_COLOR_BG_CYAN "\xb1[46m"
# define FT_COLOR_BG_WHITE "\xb1[47m"
# define FT_COLOR_BG_BLACK "\x1b[40m"
# define FT_COLOR_BG_RED "\x1b[41m"
# define FT_COLOR_BG_GREEN "\x1b[42m"
# define FT_COLOR_BG_YELLOW "\x1b[43m"
# define FT_COLOR_BG_BLUE "\x1b[44m"
# define FT_COLOR_BG_MAGENTA "\x1b[45m"
# define FT_COLOR_BG_CYAN "\x1b[46m"
# define FT_COLOR_BG_WHITE "\x1b[47m"
/*
** définition type t_list