added color codes
This commit is contained in:
parent
61e5ca2a24
commit
6de718b531
23
libft.h
23
libft.h
@ -6,7 +6,7 @@
|
|||||||
/* By: tmaze <tmaze@student.42.fr> +#+ +:+ +#+ */
|
/* By: tmaze <tmaze@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2018/04/08 00:12:36 by tmaze #+# #+# */
|
/* Created: 2018/04/08 00:12:36 by tmaze #+# #+# */
|
||||||
/* Updated: 2018/07/31 13:52:16 by tmaze ### ########.fr */
|
/* Updated: 2018/09/04 19:42:41 by tmaze ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
@ -17,6 +17,27 @@
|
|||||||
# include <stdlib.h>
|
# include <stdlib.h>
|
||||||
# include <unistd.h>
|
# include <unistd.h>
|
||||||
|
|
||||||
|
# define FT_RESET "\xb1[0m"
|
||||||
|
# define FT_BOLD "\xb1[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_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"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** définition type t_list
|
** définition type t_list
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user