{"action":"reopened","number":27,"pull_request":{"url":"https://api.github.com/repos/buildkite/terminal/pulls/27","id":36801827,"html_url":"https://github.com/buildkite/terminal/pull/27","diff_url":"https://github.com/buildkite/terminal/pull/27.diff","patch_url":"https://github.com/buildkite/terminal/pull/27.patch","issue_url":"https://api.github.com/repos/buildkite/terminal/issues/27","number":27,"state":"open","locked":false,"title":"Fix parameter-less resets","user":{"login":"toolmantim","id":153,"avatar_url":"https://avatars.githubusercontent.com/u/153?v=3","gravatar_id":"","url":"https://api.github.com/users/toolmantim","html_url":"https://github.com/toolmantim","followers_url":"https://api.github.com/users/toolmantim/followers","following_url":"https://api.github.com/users/toolmantim/following{/other_user}","gists_url":"https://api.github.com/users/toolmantim/gists{/gist_id}","starred_url":"https://api.github.com/users/toolmantim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toolmantim/subscriptions","organizations_url":"https://api.github.com/users/toolmantim/orgs","repos_url":"https://api.github.com/users/toolmantim/repos","events_url":"https://api.github.com/users/toolmantim/events{/privacy}","received_events_url":"https://api.github.com/users/toolmantim/received_events","type":"User","site_admin":false},"body":"If you're a hipster and use `$(tput sgr0)` (instead of `\\033[0m`) then you'll get the escape sequence `\\033[m`, which [according to Wikipedia](http://en.wikipedia.org/wiki/ANSI_escape_code) is a valid way of doing a reset:\r\n\r\n> After CSI can be zero or more parameters separated with ;. With no parameters, CSI m is treated as CSI 0 m (reset / normal), which is typical of most of the ANSI escape sequences.\r\n\r\nWe should treat `\\033[m` the same as `\\033[0m`\r\n\r\nFixes #28","created_at":"2015-06-03T06:25:15Z","updated_at":"2015-06-03T06:33:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d8e93e4e8acbb0700a68851d0a106a404cb70ad7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/buildkite/terminal/pulls/27/commits","review_comments_url":"https://api.github.com/repos/buildkite/terminal/pulls/27/comments","review_comment_url":"https://api.github.com/repos/buildkite/terminal/pulls/comments{/number}","comments_url":"https://api.github.com/repos/buildkite/terminal/issues/27/comments","statuses_url":"https://api.github.com/repos/buildkite/terminal/statuses/9e4bbb270da6509455d64d08f2f126d91f355cca","head":{"label":"buildkite:fix-handling-of-reset-without-parameter","ref":"fix-handling-of-reset-without-parameter","sha":"9e4bbb270da6509455d64d08f2f126d91f355cca","user":{"login":"buildkite","id":5055988,"avatar_url":"https://avatars.githubusercontent.com/u/5055988?v=3","gravatar_id":"","url":"https://api.github.com/users/buildkite","html_url":"https://github.com/buildkite","followers_url":"https://api.github.com/users/buildkite/followers","following_url":"https://api.github.com/users/buildkite/following{/other_user}","gists_url":"https://api.github.com/users/buildkite/gists{/gist_id}","starred_url":"https://api.github.com/users/buildkite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buildkite/subscriptions","organizations_url":"https://api.github.com/users/buildkite/orgs","repos_url":"https://api.github.com/users/buildkite/repos","events_url":"https://api.github.com/users/buildkite/events{/privacy}","received_events_url":"https://api.github.com/users/buildkite/received_events","type":"Organization","site_admin":false},"repo":{"id":21603730,"name":"terminal","full_name":"buildkite/terminal","owner":{"login":"buildkite","id":5055988,"avatar_url":"https://avatars.githubusercontent.com/u/5055988?v=3","gravatar_id":"","url":"https://api.github.com/users/buildkite","html_url":"https://github.com/buildkite","followers_url":"https://api.github.com/users/buildkite/followers","following_url":"https://api.github.com/users/buildkite/following{/other_user}","gists_url":"https://api.github.com/users/buildkite/gists{/gist_id}","starred_url":"https://api.github.com/users/buildkite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buildkite/subscriptions","organizations_url":"https://api.github.com/users/buildkite/orgs","repos_url":"https://api.github.com/users/buildkite/repos","events_url":"https://api.github.com/users/buildkite/events{/privacy}","received_events_url":"https://api.github.com/users/buildkite/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/buildkite/terminal","description":"Go library for converting arbitrary shell output (with ANSI) into beautifully rendered HTML","fork":false,"url":"https://api.github.com/repos/buildkite/terminal","forks_url":"https://api.github.com/repos/buildkite/terminal/forks","keys_url":"https://api.github.com/repos/buildkite/terminal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/buildkite/terminal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/buildkite/terminal/teams","hooks_url":"https://api.github.com/repos/buildkite/terminal/hooks","issue_events_url":"https://api.github.com/repos/buildkite/terminal/issues/events{/number}","events_url":"https://api.github.com/repos/buildkite/terminal/events","assignees_url":"https://api.github.com/repos/buildkite/terminal/assignees{/user}","branches_url":"https://api.github.com/repos/buildkite/terminal/branches{/branch}","tags_url":"https://api.github.com/repos/buildkite/terminal/tags","blobs_url":"https://api.github.com/repos/buildkite/terminal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/buildkite/terminal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/buildkite/terminal/git/refs{/sha}","trees_url":"https://api.github.com/repos/buildkite/terminal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/buildkite/terminal/statuses/{sha}","languages_url":"https://api.github.com/repos/buildkite/terminal/languages","stargazers_url":"https://api.github.com/repos/buildkite/terminal/stargazers","contributors_url":"https://api.github.com/repos/buildkite/terminal/contributors","subscribers_url":"https://api.github.com/repos/buildkite/terminal/subscribers","subscription_url":"https://api.github.com/repos/buildkite/terminal/subscription","commits_url":"https://api.github.com/repos/buildkite/terminal/commits{/sha}","git_commits_url":"https://api.github.com/repos/buildkite/terminal/git/commits{/sha}","comments_url":"https://api.github.com/repos/buildkite/terminal/comments{/number}","issue_comment_url":"https://api.github.com/repos/buildkite/terminal/issues/comments{/number}","contents_url":"https://api.github.com/repos/buildkite/terminal/contents/{+path}","compare_url":"https://api.github.com/repos/buildkite/terminal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/buildkite/terminal/merges","archive_url":"https://api.github.com/repos/buildkite/terminal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/buildkite/terminal/downloads","issues_url":"https://api.github.com/repos/buildkite/terminal/issues{/number}","pulls_url":"https://api.github.com/repos/buildkite/terminal/pulls{/number}","milestones_url":"https://api.github.com/repos/buildkite/terminal/milestones{/number}","notifications_url":"https://api.github.com/repos/buildkite/terminal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/buildkite/terminal/labels{/name}","releases_url":"https://api.github.com/repos/buildkite/terminal/releases{/id}","created_at":"2014-07-08T07:48:24Z","updated_at":"2015-05-27T10:12:49Z","pushed_at":"2015-06-03T06:25:15Z","git_url":"git://github.com/buildkite/terminal.git","ssh_url":"git@github.com:buildkite/terminal.git","clone_url":"https://github.com/buildkite/terminal.git","svn_url":"https://github.com/buildkite/terminal","homepage":"http://buildkite.github.io/terminal","size":1574,"stargazers_count":51,"watchers_count":51,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":51,"default_branch":"master"}},"base":{"label":"buildkite:master","ref":"master","sha":"d07f219b4e65ea203cd7aea3fffa7517bd9918c8","user":{"login":"buildkite","id":5055988,"avatar_url":"https://avatars.githubusercontent.com/u/5055988?v=3","gravatar_id":"","url":"https://api.github.com/users/buildkite","html_url":"https://github.com/buildkite","followers_url":"https://api.github.com/users/buildkite/followers","following_url":"https://api.github.com/users/buildkite/following{/other_user}","gists_url":"https://api.github.com/users/buildkite/gists{/gist_id}","starred_url":"https://api.github.com/users/buildkite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buildkite/subscriptions","organizations_url":"https://api.github.com/users/buildkite/orgs","repos_url":"https://api.github.com/users/buildkite/repos","events_url":"https://api.github.com/users/buildkite/events{/privacy}","received_events_url":"https://api.github.com/users/buildkite/received_events","type":"Organization","site_admin":false},"repo":{"id":21603730,"name":"terminal","full_name":"buildkite/terminal","owner":{"login":"buildkite","id":5055988,"avatar_url":"https://avatars.githubusercontent.com/u/5055988?v=3","gravatar_id":"","url":"https://api.github.com/users/buildkite","html_url":"https://github.com/buildkite","followers_url":"https://api.github.com/users/buildkite/followers","following_url":"https://api.github.com/users/buildkite/following{/other_user}","gists_url":"https://api.github.com/users/buildkite/gists{/gist_id}","starred_url":"https://api.github.com/users/buildkite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buildkite/subscriptions","organizations_url":"https://api.github.com/users/buildkite/orgs","repos_url":"https://api.github.com/users/buildkite/repos","events_url":"https://api.github.com/users/buildkite/events{/privacy}","received_events_url":"https://api.github.com/users/buildkite/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/buildkite/terminal","description":"Go library for converting arbitrary shell output (with ANSI) into beautifully rendered HTML","fork":false,"url":"https://api.github.com/repos/buildkite/terminal","forks_url":"https://api.github.com/repos/buildkite/terminal/forks","keys_url":"https://api.github.com/repos/buildkite/terminal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/buildkite/terminal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/buildkite/terminal/teams","hooks_url":"https://api.github.com/repos/buildkite/terminal/hooks","issue_events_url":"https://api.github.com/repos/buildkite/terminal/issues/events{/number}","events_url":"https://api.github.com/repos/buildkite/terminal/events","assignees_url":"https://api.github.com/repos/buildkite/terminal/assignees{/user}","branches_url":"https://api.github.com/repos/buildkite/terminal/branches{/branch}","tags_url":"https://api.github.com/repos/buildkite/terminal/tags","blobs_url":"https://api.github.com/repos/buildkite/terminal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/buildkite/terminal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/buildkite/terminal/git/refs{/sha}","trees_url":"https://api.github.com/repos/buildkite/terminal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/buildkite/terminal/statuses/{sha}","languages_url":"https://api.github.com/repos/buildkite/terminal/languages","stargazers_url":"https://api.github.com/repos/buildkite/terminal/stargazers","contributors_url":"https://api.github.com/repos/buildkite/terminal/contributors","subscribers_url":"https://api.github.com/repos/buildkite/terminal/subscribers","subscription_url":"https://api.github.com/repos/buildkite/terminal/subscription","commits_url":"https://api.github.com/repos/buildkite/terminal/commits{/sha}","git_commits_url":"https://api.github.com/repos/buildkite/terminal/git/commits{/sha}","comments_url":"https://api.github.com/repos/buildkite/terminal/comments{/number}","issue_comment_url":"https://api.github.com/repos/buildkite/terminal/issues/comments{/number}","contents_url":"https://api.github.com/repos/buildkite/terminal/contents/{+path}","compare_url":"https://api.github.com/repos/buildkite/terminal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/buildkite/terminal/merges","archive_url":"https://api.github.com/repos/buildkite/terminal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/buildkite/terminal/downloads","issues_url":"https://api.github.com/repos/buildkite/terminal/issues{/number}","pulls_url":"https://api.github.com/repos/buildkite/terminal/pulls{/number}","milestones_url":"https://api.github.com/repos/buildkite/terminal/milestones{/number}","notifications_url":"https://api.github.com/repos/buildkite/terminal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/buildkite/terminal/labels{/name}","releases_url":"https://api.github.com/repos/buildkite/terminal/releases{/id}","created_at":"2014-07-08T07:48:24Z","updated_at":"2015-05-27T10:12:49Z","pushed_at":"2015-06-03T06:25:15Z","git_url":"git://github.com/buildkite/terminal.git","ssh_url":"git@github.com:buildkite/terminal.git","clone_url":"https://github.com/buildkite/terminal.git","svn_url":"https://github.com/buildkite/terminal","homepage":"http://buildkite.github.io/terminal","size":1574,"stargazers_count":51,"watchers_count":51,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":51,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/buildkite/terminal/pulls/27"},"html":{"href":"https://github.com/buildkite/terminal/pull/27"},"issue":{"href":"https://api.github.com/repos/buildkite/terminal/issues/27"},"comments":{"href":"https://api.github.com/repos/buildkite/terminal/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/buildkite/terminal/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/buildkite/terminal/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/buildkite/terminal/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/buildkite/terminal/statuses/9e4bbb270da6509455d64d08f2f126d91f355cca"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":5,"review_comments":0,"commits":1,"additions":4,"deletions":0,"changed_files":1}}