{"action":"closed","number":44,"pull_request":{"url":"https://api.github.com/repos/fatih/color/pulls/44","id":88558972,"html_url":"https://github.com/fatih/color/pull/44","diff_url":"https://github.com/fatih/color/pull/44.diff","patch_url":"https://github.com/fatih/color/pull/44.patch","issue_url":"https://api.github.com/repos/fatih/color/issues/44","number":44,"state":"closed","locked":false,"title":"Add option to escape color attributes for Zsh/Bash prompt","user":{"login":"robertgzr","id":3930615,"avatar_url":"https://avatars.githubusercontent.com/u/3930615?v=3","gravatar_id":"","url":"https://api.github.com/users/robertgzr","html_url":"https://github.com/robertgzr","followers_url":"https://api.github.com/users/robertgzr/followers","following_url":"https://api.github.com/users/robertgzr/following{/other_user}","gists_url":"https://api.github.com/users/robertgzr/gists{/gist_id}","starred_url":"https://api.github.com/users/robertgzr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertgzr/subscriptions","organizations_url":"https://api.github.com/users/robertgzr/orgs","repos_url":"https://api.github.com/users/robertgzr/repos","events_url":"https://api.github.com/users/robertgzr/events{/privacy}","received_events_url":"https://api.github.com/users/robertgzr/received_events","type":"User","site_admin":false},"body":"I don't know if anybody but me would even find this useful at all.\r\n\r\nI generate a git prompt and zsh/bash need all escape sequences to be wrapped in these \r\n(`%{%}` and `\\[\\]` respectively) to determine the width of the string to display.","created_at":"2016-10-08T21:02:02Z","updated_at":"2016-10-18T09:21:00Z","closed_at":"2016-10-18T09:21:00Z","merged_at":null,"merge_commit_sha":"beac8afcb3e4794eb1705e92be6c3475525e964e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/fatih/color/pulls/44/commits","review_comments_url":"https://api.github.com/repos/fatih/color/pulls/44/comments","review_comment_url":"https://api.github.com/repos/fatih/color/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fatih/color/issues/44/comments","statuses_url":"https://api.github.com/repos/fatih/color/statuses/e5f13c041aa0ac3bc6f0c6f0f5efcff6362db425","head":{"label":"robertgzr:prompt-escape","ref":"prompt-escape","sha":"e5f13c041aa0ac3bc6f0c6f0f5efcff6362db425","user":{"login":"robertgzr","id":3930615,"avatar_url":"https://avatars.githubusercontent.com/u/3930615?v=3","gravatar_id":"","url":"https://api.github.com/users/robertgzr","html_url":"https://github.com/robertgzr","followers_url":"https://api.github.com/users/robertgzr/followers","following_url":"https://api.github.com/users/robertgzr/following{/other_user}","gists_url":"https://api.github.com/users/robertgzr/gists{/gist_id}","starred_url":"https://api.github.com/users/robertgzr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertgzr/subscriptions","organizations_url":"https://api.github.com/users/robertgzr/orgs","repos_url":"https://api.github.com/users/robertgzr/repos","events_url":"https://api.github.com/users/robertgzr/events{/privacy}","received_events_url":"https://api.github.com/users/robertgzr/received_events","type":"User","site_admin":false},"repo":{"id":70354167,"name":"color","full_name":"robertgzr/color","owner":{"login":"robertgzr","id":3930615,"avatar_url":"https://avatars.githubusercontent.com/u/3930615?v=3","gravatar_id":"","url":"https://api.github.com/users/robertgzr","html_url":"https://github.com/robertgzr","followers_url":"https://api.github.com/users/robertgzr/followers","following_url":"https://api.github.com/users/robertgzr/following{/other_user}","gists_url":"https://api.github.com/users/robertgzr/gists{/gist_id}","starred_url":"https://api.github.com/users/robertgzr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertgzr/subscriptions","organizations_url":"https://api.github.com/users/robertgzr/orgs","repos_url":"https://api.github.com/users/robertgzr/repos","events_url":"https://api.github.com/users/robertgzr/events{/privacy}","received_events_url":"https://api.github.com/users/robertgzr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/robertgzr/color","description":"Color package for Go (golang)","fork":true,"url":"https://api.github.com/repos/robertgzr/color","forks_url":"https://api.github.com/repos/robertgzr/color/forks","keys_url":"https://api.github.com/repos/robertgzr/color/keys{/key_id}","collaborators_url":"https://api.github.com/repos/robertgzr/color/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/robertgzr/color/teams","hooks_url":"https://api.github.com/repos/robertgzr/color/hooks","issue_events_url":"https://api.github.com/repos/robertgzr/color/issues/events{/number}","events_url":"https://api.github.com/repos/robertgzr/color/events","assignees_url":"https://api.github.com/repos/robertgzr/color/assignees{/user}","branches_url":"https://api.github.com/repos/robertgzr/color/branches{/branch}","tags_url":"https://api.github.com/repos/robertgzr/color/tags","blobs_url":"https://api.github.com/repos/robertgzr/color/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/robertgzr/color/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/robertgzr/color/git/refs{/sha}","trees_url":"https://api.github.com/repos/robertgzr/color/git/trees{/sha}","statuses_url":"https://api.github.com/repos/robertgzr/color/statuses/{sha}","languages_url":"https://api.github.com/repos/robertgzr/color/languages","stargazers_url":"https://api.github.com/repos/robertgzr/color/stargazers","contributors_url":"https://api.github.com/repos/robertgzr/color/contributors","subscribers_url":"https://api.github.com/repos/robertgzr/color/subscribers","subscription_url":"https://api.github.com/repos/robertgzr/color/subscription","commits_url":"https://api.github.com/repos/robertgzr/color/commits{/sha}","git_commits_url":"https://api.github.com/repos/robertgzr/color/git/commits{/sha}","comments_url":"https://api.github.com/repos/robertgzr/color/comments{/number}","issue_comment_url":"https://api.github.com/repos/robertgzr/color/issues/comments{/number}","contents_url":"https://api.github.com/repos/robertgzr/color/contents/{+path}","compare_url":"https://api.github.com/repos/robertgzr/color/compare/{base}...{head}","merges_url":"https://api.github.com/repos/robertgzr/color/merges","archive_url":"https://api.github.com/repos/robertgzr/color/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/robertgzr/color/downloads","issues_url":"https://api.github.com/repos/robertgzr/color/issues{/number}","pulls_url":"https://api.github.com/repos/robertgzr/color/pulls{/number}","milestones_url":"https://api.github.com/repos/robertgzr/color/milestones{/number}","notifications_url":"https://api.github.com/repos/robertgzr/color/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/robertgzr/color/labels{/name}","releases_url":"https://api.github.com/repos/robertgzr/color/releases{/id}","deployments_url":"https://api.github.com/repos/robertgzr/color/deployments","created_at":"2016-10-08T19:53:42Z","updated_at":"2016-10-08T19:53:44Z","pushed_at":"2016-10-08T20:46:06Z","git_url":"git://github.com/robertgzr/color.git","ssh_url":"git@github.com:robertgzr/color.git","clone_url":"https://github.com/robertgzr/color.git","svn_url":"https://github.com/robertgzr/color","homepage":"http://godoc.org/github.com/fatih/color","size":72,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"fatih:master","ref":"master","sha":"dea9d3a26a087187530244679c1cfb3a42937794","user":{"login":"fatih","id":438920,"avatar_url":"https://avatars.githubusercontent.com/u/438920?v=3","gravatar_id":"","url":"https://api.github.com/users/fatih","html_url":"https://github.com/fatih","followers_url":"https://api.github.com/users/fatih/followers","following_url":"https://api.github.com/users/fatih/following{/other_user}","gists_url":"https://api.github.com/users/fatih/gists{/gist_id}","starred_url":"https://api.github.com/users/fatih/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fatih/subscriptions","organizations_url":"https://api.github.com/users/fatih/orgs","repos_url":"https://api.github.com/users/fatih/repos","events_url":"https://api.github.com/users/fatih/events{/privacy}","received_events_url":"https://api.github.com/users/fatih/received_events","type":"User","site_admin":false},"repo":{"id":16907502,"name":"color","full_name":"fatih/color","owner":{"login":"fatih","id":438920,"avatar_url":"https://avatars.githubusercontent.com/u/438920?v=3","gravatar_id":"","url":"https://api.github.com/users/fatih","html_url":"https://github.com/fatih","followers_url":"https://api.github.com/users/fatih/followers","following_url":"https://api.github.com/users/fatih/following{/other_user}","gists_url":"https://api.github.com/users/fatih/gists{/gist_id}","starred_url":"https://api.github.com/users/fatih/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fatih/subscriptions","organizations_url":"https://api.github.com/users/fatih/orgs","repos_url":"https://api.github.com/users/fatih/repos","events_url":"https://api.github.com/users/fatih/events{/privacy}","received_events_url":"https://api.github.com/users/fatih/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fatih/color","description":"Color package for Go (golang)","fork":false,"url":"https://api.github.com/repos/fatih/color","forks_url":"https://api.github.com/repos/fatih/color/forks","keys_url":"https://api.github.com/repos/fatih/color/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fatih/color/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fatih/color/teams","hooks_url":"https://api.github.com/repos/fatih/color/hooks","issue_events_url":"https://api.github.com/repos/fatih/color/issues/events{/number}","events_url":"https://api.github.com/repos/fatih/color/events","assignees_url":"https://api.github.com/repos/fatih/color/assignees{/user}","branches_url":"https://api.github.com/repos/fatih/color/branches{/branch}","tags_url":"https://api.github.com/repos/fatih/color/tags","blobs_url":"https://api.github.com/repos/fatih/color/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fatih/color/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fatih/color/git/refs{/sha}","trees_url":"https://api.github.com/repos/fatih/color/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fatih/color/statuses/{sha}","languages_url":"https://api.github.com/repos/fatih/color/languages","stargazers_url":"https://api.github.com/repos/fatih/color/stargazers","contributors_url":"https://api.github.com/repos/fatih/color/contributors","subscribers_url":"https://api.github.com/repos/fatih/color/subscribers","subscription_url":"https://api.github.com/repos/fatih/color/subscription","commits_url":"https://api.github.com/repos/fatih/color/commits{/sha}","git_commits_url":"https://api.github.com/repos/fatih/color/git/commits{/sha}","comments_url":"https://api.github.com/repos/fatih/color/comments{/number}","issue_comment_url":"https://api.github.com/repos/fatih/color/issues/comments{/number}","contents_url":"https://api.github.com/repos/fatih/color/contents/{+path}","compare_url":"https://api.github.com/repos/fatih/color/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fatih/color/merges","archive_url":"https://api.github.com/repos/fatih/color/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fatih/color/downloads","issues_url":"https://api.github.com/repos/fatih/color/issues{/number}","pulls_url":"https://api.github.com/repos/fatih/color/pulls{/number}","milestones_url":"https://api.github.com/repos/fatih/color/milestones{/number}","notifications_url":"https://api.github.com/repos/fatih/color/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fatih/color/labels{/name}","releases_url":"https://api.github.com/repos/fatih/color/releases{/id}","deployments_url":"https://api.github.com/repos/fatih/color/deployments","created_at":"2014-02-17T09:13:35Z","updated_at":"2016-10-18T08:31:24Z","pushed_at":"2016-10-08T21:02:02Z","git_url":"git://github.com/fatih/color.git","ssh_url":"git@github.com:fatih/color.git","clone_url":"https://github.com/fatih/color.git","svn_url":"https://github.com/fatih/color","homepage":"http://godoc.org/github.com/fatih/color","size":76,"stargazers_count":1179,"watchers_count":1179,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":97,"mirror_url":null,"open_issues_count":3,"forks":97,"open_issues":3,"watchers":1179,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fatih/color/pulls/44"},"html":{"href":"https://github.com/fatih/color/pull/44"},"issue":{"href":"https://api.github.com/repos/fatih/color/issues/44"},"comments":{"href":"https://api.github.com/repos/fatih/color/issues/44/comments"},"review_comments":{"href":"https://api.github.com/repos/fatih/color/pulls/44/comments"},"review_comment":{"href":"https://api.github.com/repos/fatih/color/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fatih/color/pulls/44/commits"},"statuses":{"href":"https://api.github.com/repos/fatih/color/statuses/e5f13c041aa0ac3bc6f0c6f0f5efcff6362db425"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":56,"deletions":3,"changed_files":1}}
{"actor":{"display_login":"fatih"}}