Files
c-prime/source/console.h

24 lines
555 B
C
Raw Normal View History

2025-11-17 10:28:09 +01:00
#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