{"action":"created","issue":{"url":"https://api.github.com/repos/Sirupsen/logrus/issues/306","repository_url":"https://api.github.com/repos/Sirupsen/logrus","labels_url":"https://api.github.com/repos/Sirupsen/logrus/issues/306/labels{/name}","comments_url":"https://api.github.com/repos/Sirupsen/logrus/issues/306/comments","events_url":"https://api.github.com/repos/Sirupsen/logrus/issues/306/events","html_url":"https://github.com/Sirupsen/logrus/issues/306","id":121845596,"number":306,"title":"TextFormatter does not treat msys git bash shell as tty","user":{"login":"jerrodrurik","id":16078380,"avatar_url":"https://avatars.githubusercontent.com/u/16078380?v=3","gravatar_id":"","url":"https://api.github.com/users/jerrodrurik","html_url":"https://github.com/jerrodrurik","followers_url":"https://api.github.com/users/jerrodrurik/followers","following_url":"https://api.github.com/users/jerrodrurik/following{/other_user}","gists_url":"https://api.github.com/users/jerrodrurik/gists{/gist_id}","starred_url":"https://api.github.com/users/jerrodrurik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerrodrurik/subscriptions","organizations_url":"https://api.github.com/users/jerrodrurik/orgs","repos_url":"https://api.github.com/users/jerrodrurik/repos","events_url":"https://api.github.com/users/jerrodrurik/events{/privacy}","received_events_url":"https://api.github.com/users/jerrodrurik/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Sirupsen/logrus/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/Sirupsen/logrus/labels/help-wanted","name":"help-wanted","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2015-12-12T09:39:33Z","updated_at":"2016-08-10T17:19:30Z","closed_at":null,"body":"https://github.com/Sirupsen/logrus/blob/master/text_formatter.go#L73\r\n\r\nThis seems to be source of the error."},"comment":{"url":"https://api.github.com/repos/Sirupsen/logrus/issues/comments/238938039","html_url":"https://github.com/Sirupsen/logrus/issues/306#issuecomment-238938039","issue_url":"https://api.github.com/repos/Sirupsen/logrus/issues/306","id":238938039,"user":{"login":"tommyshem","id":1952659,"avatar_url":"https://avatars.githubusercontent.com/u/1952659?v=3","gravatar_id":"","url":"https://api.github.com/users/tommyshem","html_url":"https://github.com/tommyshem","followers_url":"https://api.github.com/users/tommyshem/followers","following_url":"https://api.github.com/users/tommyshem/following{/other_user}","gists_url":"https://api.github.com/users/tommyshem/gists{/gist_id}","starred_url":"https://api.github.com/users/tommyshem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tommyshem/subscriptions","organizations_url":"https://api.github.com/users/tommyshem/orgs","repos_url":"https://api.github.com/users/tommyshem/repos","events_url":"https://api.github.com/users/tommyshem/events{/privacy}","received_events_url":"https://api.github.com/users/tommyshem/received_events","type":"User","site_admin":false},"created_at":"2016-08-10T17:19:30Z","updated_at":"2016-08-10T17:19:30Z","body":"I have done some tests in the msys git bash on windows and the isTerminal is returning false.\r\nThe runtime.GOOS is returning =\"windows\" which is correct as it is windows.\r\n\r\nNot sure how to test for bash on windows.\r\n\r\nHe could try the forceColors flag to force the colour output on so it does not check for tty, not sure if it would work being bash on windows and not sure how to turn the forceColors flag on.\r\n\r\ncode snippet from the same file line 37.\r\nhttps://github.com/Sirupsen/logrus/blob/master/text_formatter.go#L36\r\n"}}
{"actor":{"display_login":"tommyshem"}}