2module Graphics.Input where
4buttons : a -> { button : a -> String -> Element
8button : String -> (Element, Signal ())
11 in (pool.button () txt, pool.events)
13customButtons : a -> { button : a -> Element -> Element -> Element -> Element
17customButton : Element -> Element -> Element -> (Element, Signal ())
18customButton up hover down =
19 let pool = customButtons ()
20 in (pool.button () up hover down, pool.events)
22checkBoxes : a -> { box : (Bool -> a) -> Bool -> Element
26checkBox : Bool -> (Signal Element, Signal Bool)
28 let cbs = checkBoxes b
29 in (lift (cbs.box id) cbs.events, cbs.events)
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list