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) { return function(down) {
18 return function(left) { return function(right) {
21 while (ks.ctor == "Cons") {
23 case left : --x; break;
24 case right: ++x; break;
26 case down : --y; break;
30 return { _:{}, x:x, y:y };
36 function is(key) { return keySignal(Elm.List.member(key)); }
38 Elm.Native.Keyboard = { isDown:is, dir: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