{"action":"created","issue":{"url":"https://api.github.com/repos/dthree/vorpal/issues/62","labels_url":"https://api.github.com/repos/dthree/vorpal/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/dthree/vorpal/issues/62/comments","events_url":"https://api.github.com/repos/dthree/vorpal/issues/62/events","html_url":"https://github.com/dthree/vorpal/pull/62","id":122878752,"number":62,"title":"Added ability to cancel commands with CTRL + C","user":{"login":"jackyjieliu","id":3122587,"avatar_url":"https://avatars.githubusercontent.com/u/3122587?v=3","gravatar_id":"","url":"https://api.github.com/users/jackyjieliu","html_url":"https://github.com/jackyjieliu","followers_url":"https://api.github.com/users/jackyjieliu/followers","following_url":"https://api.github.com/users/jackyjieliu/following{/other_user}","gists_url":"https://api.github.com/users/jackyjieliu/gists{/gist_id}","starred_url":"https://api.github.com/users/jackyjieliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackyjieliu/subscriptions","organizations_url":"https://api.github.com/users/jackyjieliu/orgs","repos_url":"https://api.github.com/users/jackyjieliu/repos","events_url":"https://api.github.com/users/jackyjieliu/events{/privacy}","received_events_url":"https://api.github.com/users/jackyjieliu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-12-18T04:45:03Z","updated_at":"2015-12-18T17:57:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dthree/vorpal/pulls/62","html_url":"https://github.com/dthree/vorpal/pull/62","diff_url":"https://github.com/dthree/vorpal/pull/62.diff","patch_url":"https://github.com/dthree/vorpal/pull/62.patch"},"body":"CTRL + C will cancel a running command (if any running) by calling the cancel function registered and the cancel function on the promise if it exists\r\n\r\n#45 "},"comment":{"url":"https://api.github.com/repos/dthree/vorpal/issues/comments/165856418","html_url":"https://github.com/dthree/vorpal/pull/62#issuecomment-165856418","issue_url":"https://api.github.com/repos/dthree/vorpal/issues/62","id":165856418,"user":{"login":"scotthovestadt","id":1831484,"avatar_url":"https://avatars.githubusercontent.com/u/1831484?v=3","gravatar_id":"","url":"https://api.github.com/users/scotthovestadt","html_url":"https://github.com/scotthovestadt","followers_url":"https://api.github.com/users/scotthovestadt/followers","following_url":"https://api.github.com/users/scotthovestadt/following{/other_user}","gists_url":"https://api.github.com/users/scotthovestadt/gists{/gist_id}","starred_url":"https://api.github.com/users/scotthovestadt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scotthovestadt/subscriptions","organizations_url":"https://api.github.com/users/scotthovestadt/orgs","repos_url":"https://api.github.com/users/scotthovestadt/repos","events_url":"https://api.github.com/users/scotthovestadt/events{/privacy}","received_events_url":"https://api.github.com/users/scotthovestadt/received_events","type":"User","site_admin":false},"created_at":"2015-12-18T17:57:18Z","updated_at":"2015-12-18T17:57:18Z","body":"As discussed, the Vorpal action should be able to use ````this.cancel()```` internally to cancel itself. This should also emit the event."}}