class

Cri::Tui::EventHandler

Inherits Reference < Object

Dispatches semantic keymap actions. It deliberately does not encode key bindings; users/extensions can rebind UiRuntime#keymap independently.

Constructors

new(ui : UiRuntime, controller : Controller)
Source

Instance methods

controller
Source
handle(event : KeyEvent, &refresh : -> Nil) : Bool
Source