fix: separate logger from dashboard output

Logger writes to stderr so it doesn't corrupt the dashboard on stdout.
Dashboard tracks its own line count and uses cursor-up instead of home
so log messages appear cleanly before/after instead of interleaved.
This commit is contained in:
2026-06-14 23:12:41 +02:00
parent 1db5fdb374
commit f1e4e1b61d
3 changed files with 32 additions and 17 deletions
+1 -1
View File
@@ -2,5 +2,5 @@
#include <stdio.h>
void cel_log_write(char const* msg) {
printf("%s\n", msg);
fprintf(stderr, "%s\n", msg);
}