Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
Representations of non-modifier keys.
- KFun is indexed from 0 to 63. Range of supported FKeys varies by terminal and keyboard.
- KUpLeft, KUpRight, KDownLeft, KDownRight, KCenter support varies by terminal and keyboard.
- Actually, support for most of these but KEsc, KChar, KBS, and KEnter vary by terminal and keyboard.
Modifier keys. Key codes are interpreted such that users are more likely to
have Meta than Alt; for instance on the PC Linux console, MMeta
will
generally correspond to the physical Alt key.
Mouse buttons.
todo not supported.
Events.
EvKey Key [Modifier] | |
EvMouse Int Int Button [Modifier] | todo mouse events are not supported |
EvResize Int Int | if read from |
type ClassifyMap = [(String, Event)] Source