From 6a9b662b50927b2dbe3c8d383f04d1d7b649b28f Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 8 Aug 2026 12:49:57 -1000 Subject: Gather page output into one buffer --- source/html.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/html.h') diff --git a/source/html.h b/source/html.h index 7572623..353254e 100644 --- a/source/html.h +++ b/source/html.h @@ -13,6 +13,10 @@ extern void html(const char *txt); * blob limits do not bound. */ #define HTML_BATCH (64 * 1024) +/* Write out whatever page output is still buffered. Call before anything + * other than html_raw writes to stdout. */ +extern void html_flush(void); + __attribute__((format (printf,1,2))) extern void htmlf(const char *format,...); -- cgit v2.8.0