{"action":"opened","issue":{"url":"https://api.github.com/repos/rebar/rebar3/issues/869","labels_url":"https://api.github.com/repos/rebar/rebar3/issues/869/labels{/name}","comments_url":"https://api.github.com/repos/rebar/rebar3/issues/869/comments","events_url":"https://api.github.com/repos/rebar/rebar3/issues/869/events","html_url":"https://github.com/rebar/rebar3/issues/869","id":111163089,"number":869,"title":"`control-c` in a shell does not correctly restore terminal attributes","user":{"login":"galdor","id":37804,"avatar_url":"https://avatars.githubusercontent.com/u/37804?v=3","gravatar_id":"","url":"https://api.github.com/users/galdor","html_url":"https://github.com/galdor","followers_url":"https://api.github.com/users/galdor/followers","following_url":"https://api.github.com/users/galdor/following{/other_user}","gists_url":"https://api.github.com/users/galdor/gists{/gist_id}","starred_url":"https://api.github.com/users/galdor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/galdor/subscriptions","organizations_url":"https://api.github.com/users/galdor/orgs","repos_url":"https://api.github.com/users/galdor/repos","events_url":"https://api.github.com/users/galdor/events{/privacy}","received_events_url":"https://api.github.com/users/galdor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-13T11:44:48Z","updated_at":"2015-10-13T11:44:48Z","closed_at":null,"body":"Run `rebar3 shell`. Press `control-g` and type `q`: the shell exits, and terminal attributes are restored.\r\n\r\nRe-run the shell. Press `control-c`: the shell exists, and the terminal is in a strange state:\r\n\r\n![rebar3-shell-bug](https://cloud.githubusercontent.com/assets/37804/10453897/84979932-71b0-11e5-99b0-87e9851e6739.png)\r\n"}}