Karya, built on 2022-03-21T01:30:44 (patch 89d1651424c35e564138d93424a157ff87457245)
Safe HaskellSafe-Inferred

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

Instances details
Read Key Source # 
Instance details

Defined in Ui.Key

Show Key Source # 
Instance details

Defined in Ui.Key

Methods

showsPrec :: Int -> Key -> ShowS #

show :: Key -> String #

showList :: [Key] -> ShowS #

Eq Key Source # 
Instance details

Defined in Ui.Key

Methods

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

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

Ord Key Source # 
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 #

Pretty Key Source # 
Instance details

Defined in Ui.Key

data Modifier Source #

Instances

Instances details
Read Modifier Source # 
Instance details

Defined in Ui.Key

Show Modifier Source # 
Instance details

Defined in Ui.Key

Eq Modifier Source # 
Instance details

Defined in Ui.Key

Ord Modifier Source # 
Instance details

Defined in Ui.Key

Pretty Modifier Source # 
Instance details

Defined in Ui.Key