A bidirectional mapping between events k and their user-readable
names.
Modulebrick-2.10Haskell2010
Brick.Keybindings.KeyEvents
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.
- 1 type
- 4 values
- Packagebrick-2.10
- Exports5
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceKeyEvents.hs
Convert the KeyEvents to a list.
Look up the specified event name to get its abstract event. The lookup ignores leading and trailing whitespace as well as case.
Given an abstract event, get its event name.