5data Selection : Effect where
6 Select : List a -> Selection () () a
8instance Handler Selection Maybe where
9 handle _ (Select xs) k = tryAll xs where
11 tryAll (x :: xs) = case k () x of
15instance Handler Selection List where
16 handle r (Select xs) k = concatMap (k r) xs
19SELECT = MkEff () Selection
21select : List a -> Eff m [SELECT] a
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