This commit is contained in:
snarmph 2026-07-06 11:30:24 +02:00
parent 144312744c
commit c10a3decd0
2 changed files with 33 additions and 15 deletions

View file

@ -29,6 +29,8 @@
#define ntohll(x) be64toh(x)
#endif
void os__log_init(void);
strview_t os__fg_colours[LOG_COL__COUNT] = {
[LOG_COL_BLACK] = cstrv("\x1b[30m"),
[LOG_COL_BLUE] = cstrv("\x1b[34m"),
@ -132,6 +134,8 @@ void os_init(void) {
struct utsname name = {0};
uname(&name);
lin_data.info.machine_name = str(&lin_data.arena, name.nodename);
os__log_init();
}
void os_cleanup(void) {