events#

Keyboard events.

class zelfred.events.KeyEventGenerator(key_generator: Optional[Callable[[], str]] = None)[source]#

Capture keyboard event.

next() KeyPressedEvent[source]#

Return the next key pressed event.