{"action":"opened","issue":{"url":"https://api.github.com/repos/max630/git-rehi/issues/54","repository_url":"https://api.github.com/repos/max630/git-rehi","labels_url":"https://api.github.com/repos/max630/git-rehi/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/max630/git-rehi/issues/54/comments","events_url":"https://api.github.com/repos/max630/git-rehi/issues/54/events","html_url":"https://github.com/max630/git-rehi/issues/54","id":190505255,"number":54,"title":"Windows: correctly detect mintty as console","user":{"login":"max630","id":381560,"avatar_url":"https://avatars.githubusercontent.com/u/381560?v=3","gravatar_id":"","url":"https://api.github.com/users/max630","html_url":"https://github.com/max630","followers_url":"https://api.github.com/users/max630/followers","following_url":"https://api.github.com/users/max630/following{/other_user}","gists_url":"https://api.github.com/users/max630/gists{/gist_id}","starred_url":"https://api.github.com/users/max630/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/max630/subscriptions","organizations_url":"https://api.github.com/users/max630/orgs","repos_url":"https://api.github.com/users/max630/repos","events_url":"https://api.github.com/users/max630/events{/privacy}","received_events_url":"https://api.github.com/users/max630/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-19T16:27:57Z","updated_at":"2016-11-19T16:27:57Z","closed_at":null,"body":"When started from mintty, isatty/mingw32 [does not](https://github.com/mintty/mintty/issues/482) detect working from terminal and sets buffered output. Fix it by performing additional check, similarly as the way used here: https://github.com/git/git/commit/f7f90e0f4f\r\n\r\nReferences to use:\r\nhttps://msdn.microsoft.com/en-us/library/bb432383.aspx - NtQueryObject function\r\nhttps://msdn.microsoft.com/en-us/library/windows/desktop/aa380518.aspx - UNICODE_STRING structure\r\nhttps://github.com/haskell/win32/blob/master/System/Win32/File.hsc - example how to use Win32 from Haskell (no that function)"}}
{"actor":{"display_login":"max630"}}