Karya, built on 2023-08-29T07:47:28 (patch 7a412d5d6ba4968ca4155ef276a062ccdeb9109a)
Safe HaskellSafe-Inferred

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 #