{"action":"created","comment":{"url":"https://api.github.com/repos/zeit/hyper/pulls/comments/93374857","pull_request_review_id":13900087,"id":93374857,"diff_hunk":"@@ -139,6 +132,18 @@ export default class Term extends Component {\n       this.term.focusHyperCaret();\n     }\n   }\n+  handleFocus() {\n+    // This will in turn result in `this.focus()` being\n+    // called, which is unecessary.\n+    // Should investigate if it matters.\n+    this.props.onActive();\n+  }\n+\n+  handleKeyDown(e) {\n+    if (e.ctrlKey && e.key === 'c') {\n+      this.props.onURLAbort();","path":"lib/components/term.js","position":39,"original_position":39,"commit_id":"d8e9ff29f8224b0d625c966ae5195c62b366c26c","original_commit_id":"d8e9ff29f8224b0d625c966ae5195c62b366c26c","user":{"login":"ppot","id":5577409,"avatar_url":"https://avatars.githubusercontent.com/u/5577409?v=3","gravatar_id":"","url":"https://api.github.com/users/ppot","html_url":"https://github.com/ppot","followers_url":"https://api.github.com/users/ppot/followers","following_url":"https://api.github.com/users/ppot/following{/other_user}","gists_url":"https://api.github.com/users/ppot/gists{/gist_id}","starred_url":"https://api.github.com/users/ppot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppot/subscriptions","organizations_url":"https://api.github.com/users/ppot/orgs","repos_url":"https://api.github.com/users/ppot/repos","events_url":"https://api.github.com/users/ppot/events{/privacy}","received_events_url":"https://api.github.com/users/ppot/received_events","type":"User","site_admin":false},"body":"We could. But it's enabled only if there is one oppened.","created_at":"2016-12-21T04:46:41Z","updated_at":"2016-12-21T04:46:41Z","html_url":"https://github.com/zeit/hyper/pull/1287#discussion_r93374857","pull_request_url":"https://api.github.com/repos/zeit/hyper/pulls/1287","_links":{"self":{"href":"https://api.github.com/repos/zeit/hyper/pulls/comments/93374857"},"html":{"href":"https://github.com/zeit/hyper/pull/1287#discussion_r93374857"},"pull_request":{"href":"https://api.github.com/repos/zeit/hyper/pulls/1287"}}},"pull_request":{"url":"https://api.github.com/repos/zeit/hyper/pulls/1287","id":98857458,"html_url":"https://github.com/zeit/hyper/pull/1287","diff_url":"https://github.com/zeit/hyper/pull/1287.diff","patch_url":"https://github.com/zeit/hyper/pull/1287.patch","issue_url":"https://api.github.com/repos/zeit/hyper/issues/1287","number":1287,"state":"open","locked":false,"title":"Fix ctrl+c to close WebView 🍾 ","user":{"login":"ppot","id":5577409,"avatar_url":"https://avatars.githubusercontent.com/u/5577409?v=3","gravatar_id":"","url":"https://api.github.com/users/ppot","html_url":"https://github.com/ppot","followers_url":"https://api.github.com/users/ppot/followers","following_url":"https://api.github.com/users/ppot/following{/other_user}","gists_url":"https://api.github.com/users/ppot/gists{/gist_id}","starred_url":"https://api.github.com/users/ppot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppot/subscriptions","organizations_url":"https://api.github.com/users/ppot/orgs","repos_url":"https://api.github.com/users/ppot/repos","events_url":"https://api.github.com/users/ppot/events{/privacy}","received_events_url":"https://api.github.com/users/ppot/received_events","type":"User","site_admin":false},"body":"Add Keybinding\r\nKeep caretComponent To prevent doom error.\r\n\r\nclose #392","created_at":"2016-12-21T01:37:37Z","updated_at":"2016-12-21T04:46:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"eb0e987aea428270c71748fc965dec166c20091a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/zeit/hyper/pulls/1287/commits","review_comments_url":"https://api.github.com/repos/zeit/hyper/pulls/1287/comments","review_comment_url":"https://api.github.com/repos/zeit/hyper/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zeit/hyper/issues/1287/comments","statuses_url":"https://api.github.com/repos/zeit/hyper/statuses/d8e9ff29f8224b0d625c966ae5195c62b366c26c","head":{"label":"ppot:F/webv","ref":"F/webv","sha":"d8e9ff29f8224b0d625c966ae5195c62b366c26c","user":{"login":"ppot","id":5577409,"avatar_url":"https://avatars.githubusercontent.com/u/5577409?v=3","gravatar_id":"","url":"https://api.github.com/users/ppot","html_url":"https://github.com/ppot","followers_url":"https://api.github.com/users/ppot/followers","following_url":"https://api.github.com/users/ppot/following{/other_user}","gists_url":"https://api.github.com/users/ppot/gists{/gist_id}","starred_url":"https://api.github.com/users/ppot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppot/subscriptions","organizations_url":"https://api.github.com/users/ppot/orgs","repos_url":"https://api.github.com/users/ppot/repos","events_url":"https://api.github.com/users/ppot/events{/privacy}","received_events_url":"https://api.github.com/users/ppot/received_events","type":"User","site_admin":false},"repo":{"id":70296187,"name":"hyper","full_name":"ppot/hyper","owner":{"login":"ppot","id":5577409,"avatar_url":"https://avatars.githubusercontent.com/u/5577409?v=3","gravatar_id":"","url":"https://api.github.com/users/ppot","html_url":"https://github.com/ppot","followers_url":"https://api.github.com/users/ppot/followers","following_url":"https://api.github.com/users/ppot/following{/other_user}","gists_url":"https://api.github.com/users/ppot/gists{/gist_id}","starred_url":"https://api.github.com/users/ppot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppot/subscriptions","organizations_url":"https://api.github.com/users/ppot/orgs","repos_url":"https://api.github.com/users/ppot/repos","events_url":"https://api.github.com/users/ppot/events{/privacy}","received_events_url":"https://api.github.com/users/ppot/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ppot/hyper","description":"A terminal built on web technologies","fork":true,"url":"https://api.github.com/repos/ppot/hyper","forks_url":"https://api.github.com/repos/ppot/hyper/forks","keys_url":"https://api.github.com/repos/ppot/hyper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ppot/hyper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ppot/hyper/teams","hooks_url":"https://api.github.com/repos/ppot/hyper/hooks","issue_events_url":"https://api.github.com/repos/ppot/hyper/issues/events{/number}","events_url":"https://api.github.com/repos/ppot/hyper/events","assignees_url":"https://api.github.com/repos/ppot/hyper/assignees{/user}","branches_url":"https://api.github.com/repos/ppot/hyper/branches{/branch}","tags_url":"https://api.github.com/repos/ppot/hyper/tags","blobs_url":"https://api.github.com/repos/ppot/hyper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ppot/hyper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ppot/hyper/git/refs{/sha}","trees_url":"https://api.github.com/repos/ppot/hyper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ppot/hyper/statuses/{sha}","languages_url":"https://api.github.com/repos/ppot/hyper/languages","stargazers_url":"https://api.github.com/repos/ppot/hyper/stargazers","contributors_url":"https://api.github.com/repos/ppot/hyper/contributors","subscribers_url":"https://api.github.com/repos/ppot/hyper/subscribers","subscription_url":"https://api.github.com/repos/ppot/hyper/subscription","commits_url":"https://api.github.com/repos/ppot/hyper/commits{/sha}","git_commits_url":"https://api.github.com/repos/ppot/hyper/git/commits{/sha}","comments_url":"https://api.github.com/repos/ppot/hyper/comments{/number}","issue_comment_url":"https://api.github.com/repos/ppot/hyper/issues/comments{/number}","contents_url":"https://api.github.com/repos/ppot/hyper/contents/{+path}","compare_url":"https://api.github.com/repos/ppot/hyper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ppot/hyper/merges","archive_url":"https://api.github.com/repos/ppot/hyper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ppot/hyper/downloads","issues_url":"https://api.github.com/repos/ppot/hyper/issues{/number}","pulls_url":"https://api.github.com/repos/ppot/hyper/pulls{/number}","milestones_url":"https://api.github.com/repos/ppot/hyper/milestones{/number}","notifications_url":"https://api.github.com/repos/ppot/hyper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ppot/hyper/labels{/name}","releases_url":"https://api.github.com/repos/ppot/hyper/releases{/id}","deployments_url":"https://api.github.com/repos/ppot/hyper/deployments","created_at":"2016-10-08T02:03:04Z","updated_at":"2016-10-08T02:03:05Z","pushed_at":"2016-12-21T01:36:02Z","git_url":"git://github.com/ppot/hyper.git","ssh_url":"git@github.com:ppot/hyper.git","clone_url":"https://github.com/ppot/hyper.git","svn_url":"https://github.com/ppot/hyper","homepage":"https://hyper.is","size":1910,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"zeit:master","ref":"master","sha":"ef5caeeb091cc7e8a823606f86e7aa8524645e40","user":{"login":"zeit","id":14985020,"avatar_url":"https://avatars.githubusercontent.com/u/14985020?v=3","gravatar_id":"","url":"https://api.github.com/users/zeit","html_url":"https://github.com/zeit","followers_url":"https://api.github.com/users/zeit/followers","following_url":"https://api.github.com/users/zeit/following{/other_user}","gists_url":"https://api.github.com/users/zeit/gists{/gist_id}","starred_url":"https://api.github.com/users/zeit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeit/subscriptions","organizations_url":"https://api.github.com/users/zeit/orgs","repos_url":"https://api.github.com/users/zeit/repos","events_url":"https://api.github.com/users/zeit/events{/privacy}","received_events_url":"https://api.github.com/users/zeit/received_events","type":"Organization","site_admin":false},"repo":{"id":62367558,"name":"hyper","full_name":"zeit/hyper","owner":{"login":"zeit","id":14985020,"avatar_url":"https://avatars.githubusercontent.com/u/14985020?v=3","gravatar_id":"","url":"https://api.github.com/users/zeit","html_url":"https://github.com/zeit","followers_url":"https://api.github.com/users/zeit/followers","following_url":"https://api.github.com/users/zeit/following{/other_user}","gists_url":"https://api.github.com/users/zeit/gists{/gist_id}","starred_url":"https://api.github.com/users/zeit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeit/subscriptions","organizations_url":"https://api.github.com/users/zeit/orgs","repos_url":"https://api.github.com/users/zeit/repos","events_url":"https://api.github.com/users/zeit/events{/privacy}","received_events_url":"https://api.github.com/users/zeit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zeit/hyper","description":"A terminal built on web technologies","fork":false,"url":"https://api.github.com/repos/zeit/hyper","forks_url":"https://api.github.com/repos/zeit/hyper/forks","keys_url":"https://api.github.com/repos/zeit/hyper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zeit/hyper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zeit/hyper/teams","hooks_url":"https://api.github.com/repos/zeit/hyper/hooks","issue_events_url":"https://api.github.com/repos/zeit/hyper/issues/events{/number}","events_url":"https://api.github.com/repos/zeit/hyper/events","assignees_url":"https://api.github.com/repos/zeit/hyper/assignees{/user}","branches_url":"https://api.github.com/repos/zeit/hyper/branches{/branch}","tags_url":"https://api.github.com/repos/zeit/hyper/tags","blobs_url":"https://api.github.com/repos/zeit/hyper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zeit/hyper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zeit/hyper/git/refs{/sha}","trees_url":"https://api.github.com/repos/zeit/hyper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zeit/hyper/statuses/{sha}","languages_url":"https://api.github.com/repos/zeit/hyper/languages","stargazers_url":"https://api.github.com/repos/zeit/hyper/stargazers","contributors_url":"https://api.github.com/repos/zeit/hyper/contributors","subscribers_url":"https://api.github.com/repos/zeit/hyper/subscribers","subscription_url":"https://api.github.com/repos/zeit/hyper/subscription","commits_url":"https://api.github.com/repos/zeit/hyper/commits{/sha}","git_commits_url":"https://api.github.com/repos/zeit/hyper/git/commits{/sha}","comments_url":"https://api.github.com/repos/zeit/hyper/comments{/number}","issue_comment_url":"https://api.github.com/repos/zeit/hyper/issues/comments{/number}","contents_url":"https://api.github.com/repos/zeit/hyper/contents/{+path}","compare_url":"https://api.github.com/repos/zeit/hyper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zeit/hyper/merges","archive_url":"https://api.github.com/repos/zeit/hyper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zeit/hyper/downloads","issues_url":"https://api.github.com/repos/zeit/hyper/issues{/number}","pulls_url":"https://api.github.com/repos/zeit/hyper/pulls{/number}","milestones_url":"https://api.github.com/repos/zeit/hyper/milestones{/number}","notifications_url":"https://api.github.com/repos/zeit/hyper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zeit/hyper/labels{/name}","releases_url":"https://api.github.com/repos/zeit/hyper/releases{/id}","deployments_url":"https://api.github.com/repos/zeit/hyper/deployments","created_at":"2016-07-01T06:01:21Z","updated_at":"2016-12-21T04:35:06Z","pushed_at":"2016-12-21T01:37:38Z","git_url":"git://github.com/zeit/hyper.git","ssh_url":"git@github.com:zeit/hyper.git","clone_url":"https://github.com/zeit/hyper.git","svn_url":"https://github.com/zeit/hyper","homepage":"https://hyper.is","size":1958,"stargazers_count":13248,"watchers_count":13248,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":878,"mirror_url":null,"open_issues_count":421,"forks":878,"open_issues":421,"watchers":13248,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zeit/hyper/pulls/1287"},"html":{"href":"https://github.com/zeit/hyper/pull/1287"},"issue":{"href":"https://api.github.com/repos/zeit/hyper/issues/1287"},"comments":{"href":"https://api.github.com/repos/zeit/hyper/issues/1287/comments"},"review_comments":{"href":"https://api.github.com/repos/zeit/hyper/pulls/1287/comments"},"review_comment":{"href":"https://api.github.com/repos/zeit/hyper/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zeit/hyper/pulls/1287/commits"},"statuses":{"href":"https://api.github.com/repos/zeit/hyper/statuses/d8e9ff29f8224b0d625c966ae5195c62b366c26c"}}}}
{"actor":{"display_login":"ppot"}}