tool: implement a diagnostic message printer

This commit is contained in:
2026-01-27 20:47:32 +00:00
parent 0b1d4697a2
commit d4fbd75a59
4 changed files with 473 additions and 0 deletions

11
tool/diag/diag.h Normal file
View File

@@ -0,0 +1,11 @@
#ifndef _TOOL_DIAG_DIAG_H_
#define _TOOL_DIAG_DIAG_H_
#include <blue/term/tty.h>
#include <mie/status.h>
struct mie_diag;
extern enum mie_status mie_diag_write_pretty(struct mie_diag *diag, b_tty *stream);
#endif