{"action":"closed","number":196,"pull_request":{"url":"https://api.github.com/repos/sindresorhus/pure/pulls/196","id":59389940,"html_url":"https://github.com/sindresorhus/pure/pull/196","diff_url":"https://github.com/sindresorhus/pure/pull/196.diff","patch_url":"https://github.com/sindresorhus/pure/pull/196.patch","issue_url":"https://api.github.com/repos/sindresorhus/pure/issues/196","number":196,"state":"closed","locked":false,"title":"Emacs fixes for garbled terminal output","user":{"login":"mafredri","id":147409,"avatar_url":"https://avatars.githubusercontent.com/u/147409?v=3","gravatar_id":"","url":"https://api.github.com/users/mafredri","html_url":"https://github.com/mafredri","followers_url":"https://api.github.com/users/mafredri/followers","following_url":"https://api.github.com/users/mafredri/following{/other_user}","gists_url":"https://api.github.com/users/mafredri/gists{/gist_id}","starred_url":"https://api.github.com/users/mafredri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mafredri/subscriptions","organizations_url":"https://api.github.com/users/mafredri/orgs","repos_url":"https://api.github.com/users/mafredri/repos","events_url":"https://api.github.com/users/mafredri/events{/privacy}","received_events_url":"https://api.github.com/users/mafredri/received_events","type":"User","site_admin":false},"body":"This PR fixes the issues raised in #188 and #191. It also takes precedence over #190 in favor of not introducing new configuration options.\r\n\r\nDependency on ansi codes `\\e7` (save cursor position) and `\\e8` (restore cursor position) has been removed by introducing a call to `zle reset-prompt` instead, I have not found any negative side-effects to this in my testing.","created_at":"2016-02-15T17:00:40Z","updated_at":"2016-02-16T14:24:44Z","closed_at":"2016-02-16T14:24:44Z","merged_at":"2016-02-16T14:24:44Z","merge_commit_sha":"45c2a4556cdfe77f7a0820b6904d0120f9f44e7e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sindresorhus/pure/pulls/196/commits","review_comments_url":"https://api.github.com/repos/sindresorhus/pure/pulls/196/comments","review_comment_url":"https://api.github.com/repos/sindresorhus/pure/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sindresorhus/pure/issues/196/comments","statuses_url":"https://api.github.com/repos/sindresorhus/pure/statuses/a0a3e88480b70e3057b34f818df209ab9dc8ac84","head":{"label":"sindresorhus:emacs-fixes","ref":"emacs-fixes","sha":"a0a3e88480b70e3057b34f818df209ab9dc8ac84","user":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars.githubusercontent.com/u/170270?v=3","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"repo":{"id":5890857,"name":"pure","full_name":"sindresorhus/pure","owner":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars.githubusercontent.com/u/170270?v=3","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sindresorhus/pure","description":"Pretty, minimal and fast ZSH prompt","fork":false,"url":"https://api.github.com/repos/sindresorhus/pure","forks_url":"https://api.github.com/repos/sindresorhus/pure/forks","keys_url":"https://api.github.com/repos/sindresorhus/pure/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sindresorhus/pure/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sindresorhus/pure/teams","hooks_url":"https://api.github.com/repos/sindresorhus/pure/hooks","issue_events_url":"https://api.github.com/repos/sindresorhus/pure/issues/events{/number}","events_url":"https://api.github.com/repos/sindresorhus/pure/events","assignees_url":"https://api.github.com/repos/sindresorhus/pure/assignees{/user}","branches_url":"https://api.github.com/repos/sindresorhus/pure/branches{/branch}","tags_url":"https://api.github.com/repos/sindresorhus/pure/tags","blobs_url":"https://api.github.com/repos/sindresorhus/pure/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sindresorhus/pure/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sindresorhus/pure/git/refs{/sha}","trees_url":"https://api.github.com/repos/sindresorhus/pure/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sindresorhus/pure/statuses/{sha}","languages_url":"https://api.github.com/repos/sindresorhus/pure/languages","stargazers_url":"https://api.github.com/repos/sindresorhus/pure/stargazers","contributors_url":"https://api.github.com/repos/sindresorhus/pure/contributors","subscribers_url":"https://api.github.com/repos/sindresorhus/pure/subscribers","subscription_url":"https://api.github.com/repos/sindresorhus/pure/subscription","commits_url":"https://api.github.com/repos/sindresorhus/pure/commits{/sha}","git_commits_url":"https://api.github.com/repos/sindresorhus/pure/git/commits{/sha}","comments_url":"https://api.github.com/repos/sindresorhus/pure/comments{/number}","issue_comment_url":"https://api.github.com/repos/sindresorhus/pure/issues/comments{/number}","contents_url":"https://api.github.com/repos/sindresorhus/pure/contents/{+path}","compare_url":"https://api.github.com/repos/sindresorhus/pure/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sindresorhus/pure/merges","archive_url":"https://api.github.com/repos/sindresorhus/pure/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sindresorhus/pure/downloads","issues_url":"https://api.github.com/repos/sindresorhus/pure/issues{/number}","pulls_url":"https://api.github.com/repos/sindresorhus/pure/pulls{/number}","milestones_url":"https://api.github.com/repos/sindresorhus/pure/milestones{/number}","notifications_url":"https://api.github.com/repos/sindresorhus/pure/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sindresorhus/pure/labels{/name}","releases_url":"https://api.github.com/repos/sindresorhus/pure/releases{/id}","deployments_url":"https://api.github.com/repos/sindresorhus/pure/deployments","created_at":"2012-09-20T18:14:58Z","updated_at":"2016-02-16T13:36:27Z","pushed_at":"2016-02-16T14:24:44Z","git_url":"git://github.com/sindresorhus/pure.git","ssh_url":"git@github.com:sindresorhus/pure.git","clone_url":"https://github.com/sindresorhus/pure.git","svn_url":"https://github.com/sindresorhus/pure","homepage":"","size":469,"stargazers_count":1640,"watchers_count":1640,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":203,"mirror_url":null,"open_issues_count":11,"forks":203,"open_issues":11,"watchers":1640,"default_branch":"master"}},"base":{"label":"sindresorhus:master","ref":"master","sha":"9e4955cf91830dbb13fb405652af6d3b6ea07186","user":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars.githubusercontent.com/u/170270?v=3","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"repo":{"id":5890857,"name":"pure","full_name":"sindresorhus/pure","owner":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars.githubusercontent.com/u/170270?v=3","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sindresorhus/pure","description":"Pretty, minimal and fast ZSH prompt","fork":false,"url":"https://api.github.com/repos/sindresorhus/pure","forks_url":"https://api.github.com/repos/sindresorhus/pure/forks","keys_url":"https://api.github.com/repos/sindresorhus/pure/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sindresorhus/pure/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sindresorhus/pure/teams","hooks_url":"https://api.github.com/repos/sindresorhus/pure/hooks","issue_events_url":"https://api.github.com/repos/sindresorhus/pure/issues/events{/number}","events_url":"https://api.github.com/repos/sindresorhus/pure/events","assignees_url":"https://api.github.com/repos/sindresorhus/pure/assignees{/user}","branches_url":"https://api.github.com/repos/sindresorhus/pure/branches{/branch}","tags_url":"https://api.github.com/repos/sindresorhus/pure/tags","blobs_url":"https://api.github.com/repos/sindresorhus/pure/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sindresorhus/pure/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sindresorhus/pure/git/refs{/sha}","trees_url":"https://api.github.com/repos/sindresorhus/pure/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sindresorhus/pure/statuses/{sha}","languages_url":"https://api.github.com/repos/sindresorhus/pure/languages","stargazers_url":"https://api.github.com/repos/sindresorhus/pure/stargazers","contributors_url":"https://api.github.com/repos/sindresorhus/pure/contributors","subscribers_url":"https://api.github.com/repos/sindresorhus/pure/subscribers","subscription_url":"https://api.github.com/repos/sindresorhus/pure/subscription","commits_url":"https://api.github.com/repos/sindresorhus/pure/commits{/sha}","git_commits_url":"https://api.github.com/repos/sindresorhus/pure/git/commits{/sha}","comments_url":"https://api.github.com/repos/sindresorhus/pure/comments{/number}","issue_comment_url":"https://api.github.com/repos/sindresorhus/pure/issues/comments{/number}","contents_url":"https://api.github.com/repos/sindresorhus/pure/contents/{+path}","compare_url":"https://api.github.com/repos/sindresorhus/pure/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sindresorhus/pure/merges","archive_url":"https://api.github.com/repos/sindresorhus/pure/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sindresorhus/pure/downloads","issues_url":"https://api.github.com/repos/sindresorhus/pure/issues{/number}","pulls_url":"https://api.github.com/repos/sindresorhus/pure/pulls{/number}","milestones_url":"https://api.github.com/repos/sindresorhus/pure/milestones{/number}","notifications_url":"https://api.github.com/repos/sindresorhus/pure/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sindresorhus/pure/labels{/name}","releases_url":"https://api.github.com/repos/sindresorhus/pure/releases{/id}","deployments_url":"https://api.github.com/repos/sindresorhus/pure/deployments","created_at":"2012-09-20T18:14:58Z","updated_at":"2016-02-16T13:36:27Z","pushed_at":"2016-02-16T14:24:44Z","git_url":"git://github.com/sindresorhus/pure.git","ssh_url":"git@github.com:sindresorhus/pure.git","clone_url":"https://github.com/sindresorhus/pure.git","svn_url":"https://github.com/sindresorhus/pure","homepage":"","size":469,"stargazers_count":1640,"watchers_count":1640,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":203,"mirror_url":null,"open_issues_count":11,"forks":203,"open_issues":11,"watchers":1640,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sindresorhus/pure/pulls/196"},"html":{"href":"https://github.com/sindresorhus/pure/pull/196"},"issue":{"href":"https://api.github.com/repos/sindresorhus/pure/issues/196"},"comments":{"href":"https://api.github.com/repos/sindresorhus/pure/issues/196/comments"},"review_comments":{"href":"https://api.github.com/repos/sindresorhus/pure/pulls/196/comments"},"review_comment":{"href":"https://api.github.com/repos/sindresorhus/pure/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sindresorhus/pure/pulls/196/commits"},"statuses":{"href":"https://api.github.com/repos/sindresorhus/pure/statuses/a0a3e88480b70e3057b34f818df209ab9dc8ac84"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars.githubusercontent.com/u/170270?v=3","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":2,"additions":7,"deletions":4,"changed_files":1}}