made the renderer escapecode based
This commit is contained in:
@@ -22,16 +22,19 @@ extern "C" {
|
||||
|
||||
#ifdef TART_RGB_COLORS
|
||||
#define NULL_CELL (struct tart_cell){{0,0,0},{0,0,0},0,0,0}
|
||||
#define TART_CELL_DATA_SIZE 16 // todo add number
|
||||
#define TART_CELL_DATA_SIZE 32 // todo add number
|
||||
typedef char tart_display[2];
|
||||
#else
|
||||
#define NULL_CELL (struct tart_cell){0,0,0,' '}
|
||||
#define TART_CELL_DATA_SIZE 20
|
||||
typedef char tart_display;
|
||||
#endif
|
||||
#define TART_OK 0
|
||||
|
||||
|
||||
#define TART_STYLE_BOLD 1
|
||||
#define TART_STYLE_DIM 2
|
||||
#define TART_STYLE_ITALIC 3
|
||||
#define TART_STYLE_UNDERLINE 4
|
||||
#define TART_STYLE_BLINKING 5
|
||||
#define TART_STYLE_INVERSE 7
|
||||
|
||||
Reference in New Issue
Block a user