Skip to main content

Module keys

Module keys 

Source
Expand description

Turning key presses into state changes.

Kept apart from the event loop so it can be exercised directly: the loop owns the terminal and the network, this owns the decisions.

Enums§

Action
Something the event loop has to do that this module cannot: talk to the network, or stop.

Functions§

handle