class

Cri::Tui::ActionRegistry

Inherits Reference < Object

Host-side action registry. Keymaps keep serializable action names; this registry optionally attaches Crystal behavior to those names.

Constructors

Instance methods

dispatch(name : String, context : ActionContext) : Bool
Source
names
Source
register(name : String, &handler : ActionContext -> Nil)
Source
registered?(name : String) : Bool
Source
unregister(name : String)
Source

Nested types