10 function keySignal(f) {
11 var signal = Elm.Signal.lift(f)(Elm.Keyboard.Raw.keysDown);
12 Elm.Keyboard.Raw.keysDown.defaultNumberOfKids += 1;
13 signal.defaultNumberOfKids = 0;
17 function dir(up, down, left, right) {
20 while (ks.ctor == "Cons") {
22 case left : --x; break;
23 case right: ++x; break;
25 case down : --y; break;
29 return { _:{}, x:x, y:y };
34 function is(key) { return keySignal(Elm.List.member(key)); }
36 Elm.Native.Keyboard = { isDown:is, dir:F4(dir) };
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