Modulevortex-keymap-0.1.0Haskell2010
Vortex.Keymap.Key
Keys as a small, pure, Helix-style type with a textual codec:
C-w, A-x, space, ret, S-tab, or a single printable
character. Shift is carried by the character itself (H against
h), except for S-tab. Ctrl and Alt keys are lower-cased, so
C-P and C-p are the same key. Hosts turn their own input events
into this type; nothing here knows about a toolkit.
- 2 types
- 5 values
- Packagevortex-keymap-0.1.0
- Exports7
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceKey.hs
Instances5Bounded, Enum, Eq, Ord, Show
Bounded SpecialDefined in vortex-keymap-0.1.0 · Vortex.Keymap.KeyEnum SpecialDefined in vortex-keymap-0.1.0 · Vortex.Keymap.KeyEq SpecialDefined in vortex-keymap-0.1.0 · Vortex.Keymap.KeyOrd SpecialDefined in vortex-keymap-0.1.0 · Vortex.Keymap.KeyShow SpecialDefined in vortex-keymap-0.1.0 · Vortex.Keymap.Key
The names a special key may be written as; the first for each key is the one showKey prints.
Space-separated key sequence, e.g. "space f".