7data Selection : Effect where
8 Select : List a -> sig Selection a ()
10implementation Handler Selection Maybe where
11 handle _ (Select xs) k = tryAll xs where
13 tryAll (x :: xs) = case k x () of
17implementation Handler Selection List where
18 handle r (Select xs) k = concatMap (\x => k x r) xs
21SELECT = MkEff () Selection
23select : List a -> Eff a [SELECT]
24select xs = call $ Select xs
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