{"action":"created","issue":{"url":"https://api.github.com/repos/maruel/panicparse/issues/11","labels_url":"https://api.github.com/repos/maruel/panicparse/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/maruel/panicparse/issues/11/comments","events_url":"https://api.github.com/repos/maruel/panicparse/issues/11/events","html_url":"https://github.com/maruel/panicparse/issues/11","id":119102770,"number":11,"title":"Improve color palette","user":{"login":"maruel","id":75011,"avatar_url":"https://avatars.githubusercontent.com/u/75011?v=3","gravatar_id":"","url":"https://api.github.com/users/maruel","html_url":"https://github.com/maruel","followers_url":"https://api.github.com/users/maruel/followers","following_url":"https://api.github.com/users/maruel/following{/other_user}","gists_url":"https://api.github.com/users/maruel/gists{/gist_id}","starred_url":"https://api.github.com/users/maruel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maruel/subscriptions","organizations_url":"https://api.github.com/users/maruel/orgs","repos_url":"https://api.github.com/users/maruel/repos","events_url":"https://api.github.com/users/maruel/events{/privacy}","received_events_url":"https://api.github.com/users/maruel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-26T21:16:35Z","updated_at":"2015-11-29T19:43:22Z","closed_at":null,"body":"Facts:\r\n- Some Go users use terminal with white background. I suspect this is mostly caused by OSX's Terminal defaults. I expect little to no Linux and Windows users to use white background.\r\n  - Terminal with white background makes yellow and light gray hard to read: http://i.imgur.com/WqNVjfh.png\r\n- Some people cannot distinguish green-red. This is a bigger non-self inflected problem.\r\n\r\n\r\nOptions:\r\n  1. Make the color palette configurable via an environment variable.\r\n  1. Force the background to be black. This would look like hell but would be readable yet very annoying.\r\n  1. Try to read the background color and switch color table dynamically (no idea how to achieve this).\r\n  1. Change the current colors to use a palette that is both readable with black and white backgrounds.\r\n\r\nI think option 1 is preferable but it still has the drawback of not working out of the box, requiring reading the help page, then taking action to make the change permanent. This is clumsy and annoying.\r\n\r\nSo in the meantime, option 4 is more sensible. I need to play with both 256 and 16 colors terminals to ensure I do not make things worse.\r\n\r\nReference: https://news.ycombinator.com/item?id=10634503\r\n"},"comment":{"url":"https://api.github.com/repos/maruel/panicparse/issues/comments/160459323","html_url":"https://github.com/maruel/panicparse/issues/11#issuecomment-160459323","issue_url":"https://api.github.com/repos/maruel/panicparse/issues/11","id":160459323,"user":{"login":"maruel","id":75011,"avatar_url":"https://avatars.githubusercontent.com/u/75011?v=3","gravatar_id":"","url":"https://api.github.com/users/maruel","html_url":"https://github.com/maruel","followers_url":"https://api.github.com/users/maruel/followers","following_url":"https://api.github.com/users/maruel/following{/other_user}","gists_url":"https://api.github.com/users/maruel/gists{/gist_id}","starred_url":"https://api.github.com/users/maruel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maruel/subscriptions","organizations_url":"https://api.github.com/users/maruel/orgs","repos_url":"https://api.github.com/users/maruel/repos","events_url":"https://api.github.com/users/maruel/events{/privacy}","received_events_url":"https://api.github.com/users/maruel/received_events","type":"User","site_admin":false},"created_at":"2015-11-29T19:43:22Z","updated_at":"2015-11-29T19:43:22Z","body":"Once PR #13 is merged, I'll look into this unless someone preempts me.\r\n\r\nI'm not sure what you are referring about the emphasis colors. I realized I'm accidentally using high numbered colors (90+) but that's only because it happened they were the most eye pleasing while playing with different colors while using 2 intensity levels and that's what github.com/mgutz/ansi defaults to. I'm not sure why it doesn't use bold for high intensity.\r\n\r\nOptions:\r\n- Use DefaultFG(39) + bold(1) instead of LightWhite (97)\r\n- Use color+bold(1) everywhere instead of high color(90+)"}}