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

Safe HaskellNone





main :: IO () Source #

extract keymap

sort :: Binds -> Binds Source #

Sort by the key's position in qwerty.

strip_keyspecs :: [Keymap.KeySpec] -> [Keymap.KeySpec] Source #

A repeatable key implies the non-repeating key. Also, a drag implies a click.

strip_mods :: Keymap.Bindable -> [Cmd.Modifier] -> [Cmd.Modifier] Source #

Strip out redundant modifiers. E.g. Click and Drag bindings by necessity imply that the mouse button is down, but I don't need to print that out.

txt fmt

html fmt

columns :: Text -> Int -> [Text] -> Text Source #

chunk :: Int -> [a] -> [[a]] Source #