A key handler returns true when it used the key. Keys nobody uses are kept as type-ahead for the next handler.
typedef KeyHandler = bool Function(KeyEvent event);