inputcallback: add a callback for key events (#271)

Add a callback for key events. This includes all events such as
Shift, not just text events.

An empty default handler is provided for backwards compatibility.

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2022-01-26 15:36:54 +08:00 committed by GitHub
parent 8b9445eea4
commit ccb2ab474e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

Diff content is not available