{"action":"opened","number":611,"pull_request":{"url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/pulls/611","id":180490947,"html_url":"https://github.com/jonathanslenders/python-prompt-toolkit/pull/611","diff_url":"https://github.com/jonathanslenders/python-prompt-toolkit/pull/611.diff","patch_url":"https://github.com/jonathanslenders/python-prompt-toolkit/pull/611.patch","issue_url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/issues/611","number":611,"state":"open","locked":false,"title":"reset completion state as a fallback","user":{"login":"randy3k","id":1690993,"avatar_url":"https://avatars0.githubusercontent.com/u/1690993?v=4","gravatar_id":"","url":"https://api.github.com/users/randy3k","html_url":"https://github.com/randy3k","followers_url":"https://api.github.com/users/randy3k/followers","following_url":"https://api.github.com/users/randy3k/following{/other_user}","gists_url":"https://api.github.com/users/randy3k/gists{/gist_id}","starred_url":"https://api.github.com/users/randy3k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/randy3k/subscriptions","organizations_url":"https://api.github.com/users/randy3k/orgs","repos_url":"https://api.github.com/users/randy3k/repos","events_url":"https://api.github.com/users/randy3k/events{/privacy}","received_events_url":"https://api.github.com/users/randy3k/received_events","type":"User","site_admin":false},"body":"I figured out that in some situations, the `tab` key for requesting completions is not working because previous completion state is not clear. This PR clears the state if none of the conditions were matched.","created_at":"2018-04-10T05:07:56Z","updated_at":"2018-04-10T05:07:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/pulls/611/commits","review_comments_url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/pulls/611/comments","review_comment_url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/issues/611/comments","statuses_url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/statuses/35caed5542e5e08ddb6b6302c5a3c1d4d4fc96cf","head":{"label":"randy3k:complete_state","ref":"complete_state","sha":"35caed5542e5e08ddb6b6302c5a3c1d4d4fc96cf","user":{"login":"randy3k","id":1690993,"avatar_url":"https://avatars0.githubusercontent.com/u/1690993?v=4","gravatar_id":"","url":"https://api.github.com/users/randy3k","html_url":"https://github.com/randy3k","followers_url":"https://api.github.com/users/randy3k/followers","following_url":"https://api.github.com/users/randy3k/following{/other_user}","gists_url":"https://api.github.com/users/randy3k/gists{/gist_id}","starred_url":"https://api.github.com/users/randy3k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/randy3k/subscriptions","organizations_url":"https://api.github.com/users/randy3k/orgs","repos_url":"https://api.github.com/users/randy3k/repos","events_url":"https://api.github.com/users/randy3k/events{/privacy}","received_events_url":"https://api.github.com/users/randy3k/received_events","type":"User","site_admin":false},"repo":{"id":103874077,"name":"python-prompt-toolkit","full_name":"randy3k/python-prompt-toolkit","owner":{"login":"randy3k","id":1690993,"avatar_url":"https://avatars0.githubusercontent.com/u/1690993?v=4","gravatar_id":"","url":"https://api.github.com/users/randy3k","html_url":"https://github.com/randy3k","followers_url":"https://api.github.com/users/randy3k/followers","following_url":"https://api.github.com/users/randy3k/following{/other_user}","gists_url":"https://api.github.com/users/randy3k/gists{/gist_id}","starred_url":"https://api.github.com/users/randy3k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/randy3k/subscriptions","organizations_url":"https://api.github.com/users/randy3k/orgs","repos_url":"https://api.github.com/users/randy3k/repos","events_url":"https://api.github.com/users/randy3k/events{/privacy}","received_events_url":"https://api.github.com/users/randy3k/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/randy3k/python-prompt-toolkit","description":"Library for building powerful interactive command lines in Python","fork":true,"url":"https://api.github.com/repos/randy3k/python-prompt-toolkit","forks_url":"https://api.github.com/repos/randy3k/python-prompt-toolkit/forks","keys_url":"https://api.github.com/repos/randy3k/python-prompt-toolkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/randy3k/python-prompt-toolkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/randy3k/python-prompt-toolkit/teams","hooks_url":"https://api.github.com/repos/randy3k/python-prompt-toolkit/hooks","issue_events_url":"https://api.github.com/repos/randy3k/python-prompt-toolkit/issues/events{/number}","events_url":"https://api.github.com/repos/randy3k/python-prompt-toolkit/events","assignees_url":"https://api.github.com/repos/randy3k/python-prompt-toolkit/assignees{/user}","branches_url":"https://api.github.com/repos/randy3k/python-prompt-toolkit/branches{/branch}","tags_url":"https://api.github.com/repos/randy3k/python-prompt-toolkit/tags","blobs_url":"https://api.github.com/repos/randy3k/python-prompt-toolkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/randy3k/python-prompt-toolkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/randy3k/python-prompt-toolkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/randy3k/python-prompt-toolkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/randy3k/python-prompt-toolkit/statuses/{sha}","languages_url":"https://api.github.com/repos/randy3k/python-prompt-toolkit/languages","stargazers_url":"https://api.github.com/repos/randy3k/python-prompt-toolkit/stargazers","contributors_url":"https://api.github.com/repos/randy3k/python-prompt-toolkit/contributors","subscribers_url":"https://api.github.com/repos/randy3k/python-prompt-toolkit/subscribers","subscription_url":"https://api.github.com/repos/randy3k/python-prompt-toolkit/subscription","commits_url":"https://api.github.com/repos/randy3k/python-prompt-toolkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/randy3k/python-prompt-toolkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/randy3k/python-prompt-toolkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/randy3k/python-prompt-toolkit/issues/comments{/number}","contents_url":"https://api.github.com/repos/randy3k/python-prompt-toolkit/contents/{+path}","compare_url":"https://api.github.com/repos/randy3k/python-prompt-toolkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/randy3k/python-prompt-toolkit/merges","archive_url":"https://api.github.com/repos/randy3k/python-prompt-toolkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/randy3k/python-prompt-toolkit/downloads","issues_url":"https://api.github.com/repos/randy3k/python-prompt-toolkit/issues{/number}","pulls_url":"https://api.github.com/repos/randy3k/python-prompt-toolkit/pulls{/number}","milestones_url":"https://api.github.com/repos/randy3k/python-prompt-toolkit/milestones{/number}","notifications_url":"https://api.github.com/repos/randy3k/python-prompt-toolkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/randy3k/python-prompt-toolkit/labels{/name}","releases_url":"https://api.github.com/repos/randy3k/python-prompt-toolkit/releases{/id}","deployments_url":"https://api.github.com/repos/randy3k/python-prompt-toolkit/deployments","created_at":"2017-09-18T00:50:18Z","updated_at":"2017-09-18T00:50:20Z","pushed_at":"2018-04-10T05:05:58Z","git_url":"git://github.com/randy3k/python-prompt-toolkit.git","ssh_url":"git@github.com:randy3k/python-prompt-toolkit.git","clone_url":"https://github.com/randy3k/python-prompt-toolkit.git","svn_url":"https://github.com/randy3k/python-prompt-toolkit","homepage":"","size":4261,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jonathanslenders:2.0","ref":"2.0","sha":"fd354e494db67c066fab172d1dc3770f92ef1285","user":{"login":"jonathanslenders","id":216638,"avatar_url":"https://avatars3.githubusercontent.com/u/216638?v=4","gravatar_id":"","url":"https://api.github.com/users/jonathanslenders","html_url":"https://github.com/jonathanslenders","followers_url":"https://api.github.com/users/jonathanslenders/followers","following_url":"https://api.github.com/users/jonathanslenders/following{/other_user}","gists_url":"https://api.github.com/users/jonathanslenders/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanslenders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanslenders/subscriptions","organizations_url":"https://api.github.com/users/jonathanslenders/orgs","repos_url":"https://api.github.com/users/jonathanslenders/repos","events_url":"https://api.github.com/users/jonathanslenders/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanslenders/received_events","type":"User","site_admin":false},"repo":{"id":16241224,"name":"python-prompt-toolkit","full_name":"jonathanslenders/python-prompt-toolkit","owner":{"login":"jonathanslenders","id":216638,"avatar_url":"https://avatars3.githubusercontent.com/u/216638?v=4","gravatar_id":"","url":"https://api.github.com/users/jonathanslenders","html_url":"https://github.com/jonathanslenders","followers_url":"https://api.github.com/users/jonathanslenders/followers","following_url":"https://api.github.com/users/jonathanslenders/following{/other_user}","gists_url":"https://api.github.com/users/jonathanslenders/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanslenders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanslenders/subscriptions","organizations_url":"https://api.github.com/users/jonathanslenders/orgs","repos_url":"https://api.github.com/users/jonathanslenders/repos","events_url":"https://api.github.com/users/jonathanslenders/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanslenders/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jonathanslenders/python-prompt-toolkit","description":"Library for building powerful interactive command lines in Python","fork":false,"url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit","forks_url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/forks","keys_url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/teams","hooks_url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/hooks","issue_events_url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/issues/events{/number}","events_url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/events","assignees_url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/assignees{/user}","branches_url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/branches{/branch}","tags_url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/tags","blobs_url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/statuses/{sha}","languages_url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/languages","stargazers_url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/stargazers","contributors_url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/contributors","subscribers_url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/subscribers","subscription_url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/subscription","commits_url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/issues/comments{/number}","contents_url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/contents/{+path}","compare_url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/merges","archive_url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/downloads","issues_url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/issues{/number}","pulls_url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/pulls{/number}","milestones_url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/milestones{/number}","notifications_url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/labels{/name}","releases_url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/releases{/id}","deployments_url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/deployments","created_at":"2014-01-25T22:12:08Z","updated_at":"2018-04-10T04:24:36Z","pushed_at":"2018-04-01T20:56:27Z","git_url":"git://github.com/jonathanslenders/python-prompt-toolkit.git","ssh_url":"git@github.com:jonathanslenders/python-prompt-toolkit.git","clone_url":"https://github.com/jonathanslenders/python-prompt-toolkit.git","svn_url":"https://github.com/jonathanslenders/python-prompt-toolkit","homepage":"","size":4876,"stargazers_count":4278,"watchers_count":4278,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":278,"mirror_url":null,"archived":false,"open_issues_count":194,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause"},"forks":278,"open_issues":194,"watchers":4278,"default_branch":"2.0"}},"_links":{"self":{"href":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/pulls/611"},"html":{"href":"https://github.com/jonathanslenders/python-prompt-toolkit/pull/611"},"issue":{"href":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/issues/611"},"comments":{"href":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/issues/611/comments"},"review_comments":{"href":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/pulls/611/comments"},"review_comment":{"href":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/pulls/611/commits"},"statuses":{"href":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/statuses/35caed5542e5e08ddb6b6302c5a3c1d4d4fc96cf"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":3,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"randy3k"}}