3 * module for graphical output on the terminal
4 *********************************************/
9 /* Hardware text mode color constants. */
21 COLOR_LIGHT_GREEN
= 10,
22 COLOR_LIGHT_CYAN
= 11,
24 COLOR_LIGHT_MAGENTA
= 13,
25 COLOR_LIGHT_BROWN
= 14,
29 /* clear the terminal */
30 void term_clear(void);
32 /* initialize terminal to default values and draw all entries */
33 void term_init(size_t max_width
, size_t max_height
, uint8_t fg
, uint8_t bg
);
35 /* draw char using current term settings, and update cursor position */
36 void term_putChar(char c
);
38 /* draw string using current term settings, and update cursor position */
39 void term_putStr(const char *str
);
41 /* set terminal color */
42 void term_setcolor(uint8_t fg
, uint8_t bg
);