Initial commit
This commit is contained in:
24
source/console.h
Normal file
24
source/console.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#ifndef _console
|
||||
|
||||
#define _console
|
||||
|
||||
#include "string.h"
|
||||
|
||||
#include "stdio.h"
|
||||
|
||||
#define ANSI_COLOR_RED "\x1b[31m"
|
||||
#define ANSI_COLOR_GREEN "\x1b[32m"
|
||||
#define ANSI_COLOR_DIM_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 ANSI_COLOR_BRIGHT_YELLOW "\x1b[93m"
|
||||
|
||||
void console_log( char * message );
|
||||
|
||||
void console_logColor( char * message, char * color );
|
||||
|
||||
void console_important( char * message );
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user