{"action":"opened","number":508,"pull_request":{"url":"https://api.github.com/repos/bpython/bpython/pulls/508","id":31102027,"html_url":"https://github.com/bpython/bpython/pull/508","diff_url":"https://github.com/bpython/bpython/pull/508.diff","patch_url":"https://github.com/bpython/bpython/pull/508.patch","issue_url":"https://api.github.com/repos/bpython/bpython/issues/508","number":508,"state":"open","locked":false,"title":"Add Ctrl-e to complete current suggestion.","user":{"login":"amjith","id":49260,"avatar_url":"https://avatars.githubusercontent.com/u/49260?v=3","gravatar_id":"","url":"https://api.github.com/users/amjith","html_url":"https://github.com/amjith","followers_url":"https://api.github.com/users/amjith/followers","following_url":"https://api.github.com/users/amjith/following{/other_user}","gists_url":"https://api.github.com/users/amjith/gists{/gist_id}","starred_url":"https://api.github.com/users/amjith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amjith/subscriptions","organizations_url":"https://api.github.com/users/amjith/orgs","repos_url":"https://api.github.com/users/amjith/repos","events_url":"https://api.github.com/users/amjith/events{/privacy}","received_events_url":"https://api.github.com/users/amjith/received_events","type":"User","site_admin":false},"body":"This PR adds Ctrl-e to select the current suggestion in the curtsies frontend.\r\n\r\nI love how the curtsies front-end shows completions from the history as I type. In order to complete that current suggestion I have to press 'Right-Arrow' or 'Ctrl-f'. I presume this is inspired by fish shell. Fish shell also allows Ctrl-e to select the current suggestion and this PR adds that behavior to bpython. ","created_at":"2015-03-13T06:03:04Z","updated_at":"2015-03-13T06:03:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3eb52c41ca3f04da0fecf5dd0dc92fefa8b20e0a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bpython/bpython/pulls/508/commits","review_comments_url":"https://api.github.com/repos/bpython/bpython/pulls/508/comments","review_comment_url":"https://api.github.com/repos/bpython/bpython/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bpython/bpython/issues/508/comments","statuses_url":"https://api.github.com/repos/bpython/bpython/statuses/e3dfb4f28c1ee10e4603cc976946fd29e055fa16","head":{"label":"amjith:ctrl-e","ref":"ctrl-e","sha":"e3dfb4f28c1ee10e4603cc976946fd29e055fa16","user":{"login":"amjith","id":49260,"avatar_url":"https://avatars.githubusercontent.com/u/49260?v=3","gravatar_id":"","url":"https://api.github.com/users/amjith","html_url":"https://github.com/amjith","followers_url":"https://api.github.com/users/amjith/followers","following_url":"https://api.github.com/users/amjith/following{/other_user}","gists_url":"https://api.github.com/users/amjith/gists{/gist_id}","starred_url":"https://api.github.com/users/amjith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amjith/subscriptions","organizations_url":"https://api.github.com/users/amjith/orgs","repos_url":"https://api.github.com/users/amjith/repos","events_url":"https://api.github.com/users/amjith/events{/privacy}","received_events_url":"https://api.github.com/users/amjith/received_events","type":"User","site_admin":false},"repo":{"id":32132555,"name":"bpython","full_name":"amjith/bpython","owner":{"login":"amjith","id":49260,"avatar_url":"https://avatars.githubusercontent.com/u/49260?v=3","gravatar_id":"","url":"https://api.github.com/users/amjith","html_url":"https://github.com/amjith","followers_url":"https://api.github.com/users/amjith/followers","following_url":"https://api.github.com/users/amjith/following{/other_user}","gists_url":"https://api.github.com/users/amjith/gists{/gist_id}","starred_url":"https://api.github.com/users/amjith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amjith/subscriptions","organizations_url":"https://api.github.com/users/amjith/orgs","repos_url":"https://api.github.com/users/amjith/repos","events_url":"https://api.github.com/users/amjith/events{/privacy}","received_events_url":"https://api.github.com/users/amjith/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/amjith/bpython","description":"bpython - A fancy curses interface to the Python interactive interpreter","fork":true,"url":"https://api.github.com/repos/amjith/bpython","forks_url":"https://api.github.com/repos/amjith/bpython/forks","keys_url":"https://api.github.com/repos/amjith/bpython/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amjith/bpython/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amjith/bpython/teams","hooks_url":"https://api.github.com/repos/amjith/bpython/hooks","issue_events_url":"https://api.github.com/repos/amjith/bpython/issues/events{/number}","events_url":"https://api.github.com/repos/amjith/bpython/events","assignees_url":"https://api.github.com/repos/amjith/bpython/assignees{/user}","branches_url":"https://api.github.com/repos/amjith/bpython/branches{/branch}","tags_url":"https://api.github.com/repos/amjith/bpython/tags","blobs_url":"https://api.github.com/repos/amjith/bpython/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amjith/bpython/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amjith/bpython/git/refs{/sha}","trees_url":"https://api.github.com/repos/amjith/bpython/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amjith/bpython/statuses/{sha}","languages_url":"https://api.github.com/repos/amjith/bpython/languages","stargazers_url":"https://api.github.com/repos/amjith/bpython/stargazers","contributors_url":"https://api.github.com/repos/amjith/bpython/contributors","subscribers_url":"https://api.github.com/repos/amjith/bpython/subscribers","subscription_url":"https://api.github.com/repos/amjith/bpython/subscription","commits_url":"https://api.github.com/repos/amjith/bpython/commits{/sha}","git_commits_url":"https://api.github.com/repos/amjith/bpython/git/commits{/sha}","comments_url":"https://api.github.com/repos/amjith/bpython/comments{/number}","issue_comment_url":"https://api.github.com/repos/amjith/bpython/issues/comments{/number}","contents_url":"https://api.github.com/repos/amjith/bpython/contents/{+path}","compare_url":"https://api.github.com/repos/amjith/bpython/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amjith/bpython/merges","archive_url":"https://api.github.com/repos/amjith/bpython/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amjith/bpython/downloads","issues_url":"https://api.github.com/repos/amjith/bpython/issues{/number}","pulls_url":"https://api.github.com/repos/amjith/bpython/pulls{/number}","milestones_url":"https://api.github.com/repos/amjith/bpython/milestones{/number}","notifications_url":"https://api.github.com/repos/amjith/bpython/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amjith/bpython/labels{/name}","releases_url":"https://api.github.com/repos/amjith/bpython/releases{/id}","created_at":"2015-03-13T05:55:17Z","updated_at":"2015-03-13T05:55:18Z","pushed_at":"2015-03-13T05:59:49Z","git_url":"git://github.com/amjith/bpython.git","ssh_url":"git@github.com:amjith/bpython.git","clone_url":"https://github.com/amjith/bpython.git","svn_url":"https://github.com/amjith/bpython","homepage":"http://bpython-interpreter.org/","size":10150,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"bpython:master","ref":"master","sha":"7eaef534e05de3d06a8c076bf5737050349bba89","user":{"login":"bpython","id":8071396,"avatar_url":"https://avatars.githubusercontent.com/u/8071396?v=3","gravatar_id":"","url":"https://api.github.com/users/bpython","html_url":"https://github.com/bpython","followers_url":"https://api.github.com/users/bpython/followers","following_url":"https://api.github.com/users/bpython/following{/other_user}","gists_url":"https://api.github.com/users/bpython/gists{/gist_id}","starred_url":"https://api.github.com/users/bpython/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bpython/subscriptions","organizations_url":"https://api.github.com/users/bpython/orgs","repos_url":"https://api.github.com/users/bpython/repos","events_url":"https://api.github.com/users/bpython/events{/privacy}","received_events_url":"https://api.github.com/users/bpython/received_events","type":"Organization","site_admin":false},"repo":{"id":21508865,"name":"bpython","full_name":"bpython/bpython","owner":{"login":"bpython","id":8071396,"avatar_url":"https://avatars.githubusercontent.com/u/8071396?v=3","gravatar_id":"","url":"https://api.github.com/users/bpython","html_url":"https://github.com/bpython","followers_url":"https://api.github.com/users/bpython/followers","following_url":"https://api.github.com/users/bpython/following{/other_user}","gists_url":"https://api.github.com/users/bpython/gists{/gist_id}","starred_url":"https://api.github.com/users/bpython/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bpython/subscriptions","organizations_url":"https://api.github.com/users/bpython/orgs","repos_url":"https://api.github.com/users/bpython/repos","events_url":"https://api.github.com/users/bpython/events{/privacy}","received_events_url":"https://api.github.com/users/bpython/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bpython/bpython","description":"bpython - A fancy curses interface to the Python interactive interpreter","fork":false,"url":"https://api.github.com/repos/bpython/bpython","forks_url":"https://api.github.com/repos/bpython/bpython/forks","keys_url":"https://api.github.com/repos/bpython/bpython/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bpython/bpython/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bpython/bpython/teams","hooks_url":"https://api.github.com/repos/bpython/bpython/hooks","issue_events_url":"https://api.github.com/repos/bpython/bpython/issues/events{/number}","events_url":"https://api.github.com/repos/bpython/bpython/events","assignees_url":"https://api.github.com/repos/bpython/bpython/assignees{/user}","branches_url":"https://api.github.com/repos/bpython/bpython/branches{/branch}","tags_url":"https://api.github.com/repos/bpython/bpython/tags","blobs_url":"https://api.github.com/repos/bpython/bpython/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bpython/bpython/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bpython/bpython/git/refs{/sha}","trees_url":"https://api.github.com/repos/bpython/bpython/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bpython/bpython/statuses/{sha}","languages_url":"https://api.github.com/repos/bpython/bpython/languages","stargazers_url":"https://api.github.com/repos/bpython/bpython/stargazers","contributors_url":"https://api.github.com/repos/bpython/bpython/contributors","subscribers_url":"https://api.github.com/repos/bpython/bpython/subscribers","subscription_url":"https://api.github.com/repos/bpython/bpython/subscription","commits_url":"https://api.github.com/repos/bpython/bpython/commits{/sha}","git_commits_url":"https://api.github.com/repos/bpython/bpython/git/commits{/sha}","comments_url":"https://api.github.com/repos/bpython/bpython/comments{/number}","issue_comment_url":"https://api.github.com/repos/bpython/bpython/issues/comments{/number}","contents_url":"https://api.github.com/repos/bpython/bpython/contents/{+path}","compare_url":"https://api.github.com/repos/bpython/bpython/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bpython/bpython/merges","archive_url":"https://api.github.com/repos/bpython/bpython/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bpython/bpython/downloads","issues_url":"https://api.github.com/repos/bpython/bpython/issues{/number}","pulls_url":"https://api.github.com/repos/bpython/bpython/pulls{/number}","milestones_url":"https://api.github.com/repos/bpython/bpython/milestones{/number}","notifications_url":"https://api.github.com/repos/bpython/bpython/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bpython/bpython/labels{/name}","releases_url":"https://api.github.com/repos/bpython/bpython/releases{/id}","created_at":"2014-07-04T22:26:05Z","updated_at":"2015-03-13T05:23:45Z","pushed_at":"2015-03-08T21:20:11Z","git_url":"git://github.com/bpython/bpython.git","ssh_url":"git@github.com:bpython/bpython.git","clone_url":"https://github.com/bpython/bpython.git","svn_url":"https://github.com/bpython/bpython","homepage":"http://bpython-interpreter.org/","size":10150,"stargazers_count":117,"watchers_count":117,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":31,"mirror_url":null,"open_issues_count":73,"forks":31,"open_issues":73,"watchers":117,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bpython/bpython/pulls/508"},"html":{"href":"https://github.com/bpython/bpython/pull/508"},"issue":{"href":"https://api.github.com/repos/bpython/bpython/issues/508"},"comments":{"href":"https://api.github.com/repos/bpython/bpython/issues/508/comments"},"review_comments":{"href":"https://api.github.com/repos/bpython/bpython/pulls/508/comments"},"review_comment":{"href":"https://api.github.com/repos/bpython/bpython/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bpython/bpython/pulls/508/commits"},"statuses":{"href":"https://api.github.com/repos/bpython/bpython/statuses/e3dfb4f28c1ee10e4603cc976946fd29e055fa16"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":2,"changed_files":1}}