[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.

๐Ÿ“ note ct_active_context is a workaround for Clay userData PR

Charles Lowell (Apr 23, 2026, 11:20 AM -0500) c6c7f87f 8730e55d

+6
+6
src/clayterm.c
··· 20 20 #include "utf8.h" 21 21 #include "wcwidth.h" 22 22 23 + /* Module-level pointer to the Term currently executing reduce(). 24 + * Set/cleared around each render pass so transition handlers (which Clay 25 + * invokes with no userData โ€” see Clay_TransitionCallbackArguments) can 26 + * report back to the right Term's animating_count. Revisit once 27 + * nicbarker/clay#603 lands userData on transition callbacks; then the 28 + * handler can resolve its Term from args directly and this can go away. */ 23 29 struct Clayterm *ct_active_context = NULL; 24 30 25 31 /* โ”€โ”€ Command buffer protocol โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ */