on master help sign in
~
207c508Corey O'Connor
src/Graphics/Vty/Input/Data.hs+2−2
@@ -3,13 +3,13 @@
3-- Copyright Corey O'Connor
3-- Copyright Corey O'Connor
4module Graphics.Vty.Input.Data where
4module Graphics.Vty.Input.Data where
5
5
6−-- |Representations of non-modifier keys.
6+-- | Representations of non-modifier keys.
7data Key = KEsc | KFun Int | KBackTab | KPrtScr | KPause | KASCII Char | KBS | KIns
7data Key = KEsc | KFun Int | KBackTab | KPrtScr | KPause | KASCII Char | KBS | KIns
8 | KHome | KPageUp | KDel | KEnd | KPageDown | KBegin | KNP5 | KUp | KMenu
8 | KHome | KPageUp | KDel | KEnd | KPageDown | KBegin | KNP5 | KUp | KMenu
9 | KLeft | KDown | KRight | KEnter
9 | KLeft | KDown | KRight | KEnter
10 deriving (Eq,Show,Ord)
10 deriving (Eq,Show,Ord)
11
11
12−-- |Modifier keys. Key codes are interpreted such that users are more likely to
12+-- | Modifier keys. Key codes are interpreted such that users are more likely to
13-- have Meta than Alt; for instance on the PC Linux console, 'MMeta' will
13-- have Meta than Alt; for instance on the PC Linux console, 'MMeta' will
14-- generally correspond to the physical Alt key.
14-- generally correspond to the physical Alt key.
15data Modifier = MShift | MCtrl | MMeta | MAlt
15data Modifier = MShift | MCtrl | MMeta | MAlt