KeyHandler typedef

KeyHandler = bool Function(KeyEvent)

Signature for key event handlers. Return true if the event was handled.

Implementation

typedef KeyHandler = bool Function(KeyEvent);