{"action":"closed","issue":{"url":"https://api.github.com/repos/kghandhi/pacman/issues/2","repository_url":"https://api.github.com/repos/kghandhi/pacman","labels_url":"https://api.github.com/repos/kghandhi/pacman/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/kghandhi/pacman/issues/2/comments","events_url":"https://api.github.com/repos/kghandhi/pacman/issues/2/events","html_url":"https://github.com/kghandhi/pacman/issues/2","id":157318336,"number":2,"title":"Switch to Keyboard.arrows for receiving arrow key inputs","user":{"login":"specious","id":451178,"avatar_url":"https://avatars.githubusercontent.com/u/451178?v=3","gravatar_id":"","url":"https://api.github.com/users/specious","html_url":"https://github.com/specious","followers_url":"https://api.github.com/users/specious/followers","following_url":"https://api.github.com/users/specious/following{/other_user}","gists_url":"https://api.github.com/users/specious/gists{/gist_id}","starred_url":"https://api.github.com/users/specious/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/specious/subscriptions","organizations_url":"https://api.github.com/users/specious/orgs","repos_url":"https://api.github.com/users/specious/repos","events_url":"https://api.github.com/users/specious/events{/privacy}","received_events_url":"https://api.github.com/users/specious/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-05-28T03:37:30Z","updated_at":"2016-12-09T21:42:08Z","closed_at":"2016-12-09T21:42:08Z","body":"In #1 it has been noted that the arrow keys aren't working in Chrome (but do in Firefox).\n\nUsing this [Elm signal visualizer](http://yang-wei.github.io/elmflux/#/keyboardSignal), I observed that `Keyboard.arrows` is a reliable input for arrow key presses whereas `Keyboard.presses` isn't.\n\nThe inconsistent behavior of the `Keyboard.presses` signal with regards to the arrow keys is a known issue (see https://github.com/elm-lang/core/pull/463) which stems from differing interpretations of the `keypress` event by the browsers.\n\nSwitching to using `Keyboard.arrows` seems like the best way to solve this problem.\n"}}
{"actor":{"display_login":"specious"}}