#ifndef UNS_TERM_H #define UNS_TERM_H #define UNS_TERM_ROWS 22 #define UNS_TERM_COLS 65 void tgrid_display(void); int term_writeat(int row, int col, int fg, int bg, const char *s); void term_scroll_down(void); // normal print (stdout equivalent) int term_print(const char *str); int term_printf(const char *restrict format, ...); // red print (stderr equivalent) int term_eprint(const char *str); int term_eprintf(const char *restrict format, ...); // trace print (printk equivalent) int term_kprint(const char *str); int term_kprintf(const char *restrict format, ...); #endif // #ifndef UNS_TERM_H