tui.register
tui.register KIND NAME FN...
Registers one or more handlers FN for NAME under KIND.
Parameters
KIND-tag,widget,layout,validator,pseudo,expr,hookorstyle.NAME- the tag/widget type/class name the handler is for.
Notes
- A later registration for the same
KIND/NAMEis appended, not replaced - readtui.registered’s last word for “last wins”, or iterate the whole list for handlers that all run (hooks). - Made while
$_TUI_REGISTRY_CURRENT_PLUGINis set, a registration is attributed to that plugin, so disabling it can remove exactly what it added.
