Karya, built on 2018-05-31T02:46:59 (patch 0a1a35479c514820d77330ae8a978975ba22a47a)

Safe HaskellNone

Ui.Key

Synopsis

Documentation

data Key Source #

A keystroke. For Char, this is always the unshifted version. So assuming that , and < live on the same keycap, you will will see Shift + Char ',', not Char '<'.

Instances
Eq Key # 
Instance details

Defined in Ui.Key

Methods

(==) :: Key -> Key -> Bool #

(/=) :: Key -> Key -> Bool #

Ord Key # 
Instance details

Defined in Ui.Key

Methods

compare :: Key -> Key -> Ordering #

(<) :: Key -> Key -> Bool #

(<=) :: Key -> Key -> Bool #

(>) :: Key -> Key -> Bool #

(>=) :: Key -> Key -> Bool #

max :: Key -> Key -> Key #

min :: Key -> Key -> Key #

Read Key # 
Instance details

Defined in Ui.Key

Show Key # 
Instance details

Defined in Ui.Key

Methods

showsPrec :: Int -> Key -> ShowS #

show :: Key -> String #

showList :: [Key] -> ShowS #

Pretty Key # 
Instance details

Defined in Ui.Key

data Modifier Source #

Instances
Eq Modifier # 
Instance details

Defined in Ui.Key

Ord Modifier # 
Instance details

Defined in Ui.Key

Read Modifier # 
Instance details

Defined in Ui.Key

Show Modifier # 
Instance details

Defined in Ui.Key