[READ-ONLY] Mirror of https://github.com/bombshell-dev/tty. Platform independent 2D layout engine for terminal applications based on Clay
5

Configure Feed

Select the types of activity you want to include in your feed.

๐ŸŽจ fix clang-format in API comment block

Charles Lowell (Apr 17, 2026, 5:03 PM -0500) 994adca3 ab1bd20b

+8 -10
+8 -10
src/clayterm.c
··· 1 1 /* clayterm.c โ€” WASM terminal rendering engine for Clay UI 2 2 * 3 3 * Public API (exported to WASM): 4 - * clayterm_size โ€” compute arena size for given dimensions 5 - * init โ€” initialize a Clayterm instance in provided memory 6 - * reduce โ€” decode command buffer, run Clay layout, render to ANSI 7 - * output โ€” pointer to output byte buffer 8 - * length โ€” length of output byte buffer 9 - * measure โ€” Clay text measurement callback 10 - * error_count โ€” number of errors from last render 11 - * error_type โ€” Clay_ErrorType enum value for error at index 12 - * error_message_length โ€” byte length of error message at index 13 - * error_message_ptr โ€” pointer to error message string at index 4 + * clayterm_size โ€” compute arena size for given dimensions 5 + * init โ€” initialize a Clayterm instance in provided memory 6 + * reduce โ€” decode command buffer, run Clay layout, render to ANSI 7 + * output โ€” pointer to output byte buffer 8 + * length โ€” length of output byte buffer 9 + * measure โ€” Clay text measurement callback 10 + * error_count, error_type, error_message_length, error_message_ptr 11 + * โ€” per-render Clay error accessors 14 12 */ 15 13 16 14 #include "clayterm.h"