Karya, built on 2023-08-29T07:47:28 (patch 7a412d5d6ba4968ca4155ef276a062ccdeb9109a)
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