Karya, built on 2020-11-26T21:03:17 (patch 23b5be2d53a9e8e7d6136cda5aae2849abe5cded)
Safe HaskellNone

App.ExtractDoc

Synopsis

Documentation

main :: IO () Source #

extract keymap

type Binds = [(Text, [Cmd.KeySpec])] Source #

sort :: Binds -> Binds Source #

Sort by the key's position in qwerty.

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

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

strip_mods :: Cmd.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 #