{"action":"created","issue":{"url":"https://api.github.com/repos/Masterminds/glide/issues/358","repository_url":"https://api.github.com/repos/Masterminds/glide","labels_url":"https://api.github.com/repos/Masterminds/glide/issues/358/labels{/name}","comments_url":"https://api.github.com/repos/Masterminds/glide/issues/358/comments","events_url":"https://api.github.com/repos/Masterminds/glide/issues/358/events","html_url":"https://github.com/Masterminds/glide/issues/358","id":144088279,"number":358,"title":"Do not use color if output doesn't support it","user":{"login":"uluyol","id":4128872,"avatar_url":"https://avatars.githubusercontent.com/u/4128872?v=3","gravatar_id":"","url":"https://api.github.com/users/uluyol","html_url":"https://github.com/uluyol","followers_url":"https://api.github.com/users/uluyol/followers","following_url":"https://api.github.com/users/uluyol/following{/other_user}","gists_url":"https://api.github.com/users/uluyol/gists{/gist_id}","starred_url":"https://api.github.com/users/uluyol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uluyol/subscriptions","organizations_url":"https://api.github.com/users/uluyol/orgs","repos_url":"https://api.github.com/users/uluyol/repos","events_url":"https://api.github.com/users/uluyol/events{/privacy}","received_events_url":"https://api.github.com/users/uluyol/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-03-28T21:30:25Z","updated_at":"2016-04-04T23:33:59Z","closed_at":null,"body":"Glide should not output colors for terminals that don't support it. This is also an issue if you try logging the output of Glide.\r\n\r\nSteps to reproduce:\r\n```\r\n# glide update -s &>l\r\n# less l\r\nESC[0;32m[INFO] ESC[mDownloading dependencies. Please wait...\r\nESC[0;32m[INFO] ESC[mFetching updates for github.com/uluyol/rgo.\r\nESC[0;32m[INFO] ESC[mFetching updates for github.com/gocql/gocql.\r\n[...]\r\n```"},"comment":{"url":"https://api.github.com/repos/Masterminds/glide/issues/comments/205541095","html_url":"https://github.com/Masterminds/glide/issues/358#issuecomment-205541095","issue_url":"https://api.github.com/repos/Masterminds/glide/issues/358","id":205541095,"user":{"login":"sectioneight","id":97087,"avatar_url":"https://avatars.githubusercontent.com/u/97087?v=3","gravatar_id":"","url":"https://api.github.com/users/sectioneight","html_url":"https://github.com/sectioneight","followers_url":"https://api.github.com/users/sectioneight/followers","following_url":"https://api.github.com/users/sectioneight/following{/other_user}","gists_url":"https://api.github.com/users/sectioneight/gists{/gist_id}","starred_url":"https://api.github.com/users/sectioneight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sectioneight/subscriptions","organizations_url":"https://api.github.com/users/sectioneight/orgs","repos_url":"https://api.github.com/users/sectioneight/repos","events_url":"https://api.github.com/users/sectioneight/events{/privacy}","received_events_url":"https://api.github.com/users/sectioneight/received_events","type":"User","site_admin":false},"created_at":"2016-04-04T23:33:59Z","updated_at":"2016-04-04T23:33:59Z","body":"You can run `test -n $(TERM) && tput colors 2` in a terminal to detect if a terminal supports colors. If the command exits non-zero, you're attached to a terminal that doesn't support colors."}}