Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
This module provides KeyEvents
, a data type for mapping
application-defined abstract events to user-facing names (e.g.
for use in configuration files and documentation). This data
structure gives you a place to define the correspondence between
your application's key events and their names. A KeyEvents
also
effectively tells the key binding system about the collection of
possible abstract events that can be handled.
A KeyEvents
is used to construct a
KeyConfig
with
newKeyConfig
.
Documentation
A bidirectional mapping between events k
and their user-readable
names.