Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
prettyEvent :: Event -> String Source #
KEsc | |
KFun Int | |
KPrtScr | |
KPause | |
KASCII Char | |
KBS | |
KIns | |
KHome | |
KPageUp | |
KDel | |
KEnd | |
KPageDown | |
KNP5 | |
KUp | |
KMenu | |
KLeft | |
KDown | |
KRight | |
KEnter | |
KTab |
Key codes
eventToChar :: Event -> Char Source #
Map an Event to a Char. This is used in the emacs keymap for Ctrl-Q and vim keymap insertSpecialChar