{"action":"created","issue":{"url":"https://api.github.com/repos/elm-lang/elm-repl/issues/121","repository_url":"https://api.github.com/repos/elm-lang/elm-repl","labels_url":"https://api.github.com/repos/elm-lang/elm-repl/issues/121/labels{/name}","comments_url":"https://api.github.com/repos/elm-lang/elm-repl/issues/121/comments","events_url":"https://api.github.com/repos/elm-lang/elm-repl/issues/121/events","html_url":"https://github.com/elm-lang/elm-repl/issues/121","id":163073221,"number":121,"title":"Problem with ctrl+c on OS X (hardware fault)","user":{"login":"evancz","id":1658058,"avatar_url":"https://avatars.githubusercontent.com/u/1658058?v=3","gravatar_id":"","url":"https://api.github.com/users/evancz","html_url":"https://github.com/evancz","followers_url":"https://api.github.com/users/evancz/followers","following_url":"https://api.github.com/users/evancz/following{/other_user}","gists_url":"https://api.github.com/users/evancz/gists{/gist_id}","starred_url":"https://api.github.com/users/evancz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evancz/subscriptions","organizations_url":"https://api.github.com/users/evancz/orgs","repos_url":"https://api.github.com/users/evancz/repos","events_url":"https://api.github.com/users/evancz/events{/privacy}","received_events_url":"https://api.github.com/users/evancz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-06-30T03:23:55Z","updated_at":"2016-06-30T22:06:14Z","closed_at":null,"body":"In #99, @porglezomp reported that the REPL was acting weird on `ctrl+c` on an unspecified OS:\r\n\r\n```\r\n$ elm-repl\r\n---- elm repl 0.16.0 -----------------------------------------------------------\r\n :help for help, :exit to exit, more at <https://github.com/elm-lang/elm-repl>\r\n--------------------------------------------------------------------------------\r\n> ^C\r\n> elmtodo $ \r\nelm-repl: <stdin>: hGetChar: hardware fault (Input/output error)\r\n```\r\n\r\n@yurrriq did some testing and produced these tables (thank you!) running things on OS X 10.11.5:\r\n\r\n| Installation Method | Result | Extra Info |\r\n| --- | --- | --- |\r\n| [`brew install elm`](https://github.com/Homebrew/homebrew-core/blob/c83fb2f0158a2a848067c51dfaa9b37b80261898/Formula/elm.rb) | 👎 | `sh` [uninstall.sh](https://github.com/elm-lang/elm-platform/blob/master/installers/mac/helper-scripts/uninstall.sh) first |\r\n| [`Elm-Platform-0.17.1.pkg`](http://install.elm-lang.org/Elm-Platform-0.17.1.pkg) | 👎 | `brew unlink elm` first |\r\n| `npm install -g elm` | 👎 | `sh` [uninstall.sh](https://github.com/elm-lang/elm-platform/blob/master/installers/mac/helper-scripts/uninstall.sh) first; `node v6.2.2`, `npm 3.10.3` |\r\n| [Build from source](https://github.com/elm-lang/elm-platform) | ❓ | Don't have time right now |\r\n\r\n\r\nTrying to determine if it's my terminal or shell:\r\n\r\n| Terminal | Shell | Result |\r\n| --- | --- | --- |\r\n| [iTerm 2](http://iterm2.com) (Build 3.0.3) | [`fish`](http://fishshell.com) | 👎 |\r\n| | `bash` | 👎 |\r\n| Terminal Version 2.6.1 (361.1) | [`fish`](http://fishshell.com) | 👎 |\r\n| | `bash` | 👎 |\r\n\r\n**Note:** I am not able to reproduce any of this on my OS X 10.11.5 so I don't have any good leads. Could be something related to [haskeline](https://hackage.haskell.org/package/haskeline) or something. No one has checked to see if they have any issues like this."},"comment":{"url":"https://api.github.com/repos/elm-lang/elm-repl/issues/comments/229802595","html_url":"https://github.com/elm-lang/elm-repl/issues/121#issuecomment-229802595","issue_url":"https://api.github.com/repos/elm-lang/elm-repl/issues/121","id":229802595,"user":{"login":"evancz","id":1658058,"avatar_url":"https://avatars.githubusercontent.com/u/1658058?v=3","gravatar_id":"","url":"https://api.github.com/users/evancz","html_url":"https://github.com/evancz","followers_url":"https://api.github.com/users/evancz/followers","following_url":"https://api.github.com/users/evancz/following{/other_user}","gists_url":"https://api.github.com/users/evancz/gists{/gist_id}","starred_url":"https://api.github.com/users/evancz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evancz/subscriptions","organizations_url":"https://api.github.com/users/evancz/orgs","repos_url":"https://api.github.com/users/evancz/repos","events_url":"https://api.github.com/users/evancz/events{/privacy}","received_events_url":"https://api.github.com/users/evancz/received_events","type":"User","site_admin":false},"created_at":"2016-06-30T22:06:14Z","updated_at":"2016-06-30T22:06:14Z","body":"@porglezomp, thanks for the update! @yurrriq, can you try disabling it to see if that resolves things?"}}
{"actor":{"display_login":"evancz"}}