mirror of
https://github.com/wiiu-env/ftpiiu_plugin.git
synced 2024-12-23 03:11:49 +01:00
23 lines
495 B
C
23 lines
495 B
C
#pragma once
|
|
|
|
#define ESC(x) "\x1b[" #x
|
|
#define RESET ESC(0m)
|
|
#define BLACK ESC(30m)
|
|
#define RED ESC(31;1m)
|
|
#define GREEN ESC(32;1m)
|
|
#define YELLOW ESC(33;1m)
|
|
#define BLUE ESC(34;1m)
|
|
#define MAGENTA ESC(35;1m)
|
|
#define CYAN ESC(36;1m)
|
|
#define WHITE ESC(37;1m)
|
|
|
|
void console_init(void);
|
|
|
|
__attribute__((format(printf,1,2)))
|
|
void console_set_status(const char *fmt, ...);
|
|
|
|
__attribute__((format(printf,1,2)))
|
|
void console_print(const char *fmt, ...);
|
|
|
|
void console_render(void);
|