{"action":"created","issue":{"url":"https://api.github.com/repos/Aaronepower/tokei/issues/249","repository_url":"https://api.github.com/repos/Aaronepower/tokei","labels_url":"https://api.github.com/repos/Aaronepower/tokei/issues/249/labels{/name}","comments_url":"https://api.github.com/repos/Aaronepower/tokei/issues/249/comments","events_url":"https://api.github.com/repos/Aaronepower/tokei/issues/249/events","html_url":"https://github.com/Aaronepower/tokei/issues/249","id":354048605,"node_id":"MDU6SXNzdWUzNTQwNDg2MDU=","number":249,"title":"Use box drawing characters?","user":{"login":"Emerentius","id":9992929,"node_id":"MDQ6VXNlcjk5OTI5Mjk=","avatar_url":"https://avatars3.githubusercontent.com/u/9992929?v=4","gravatar_id":"","url":"https://api.github.com/users/Emerentius","html_url":"https://github.com/Emerentius","followers_url":"https://api.github.com/users/Emerentius/followers","following_url":"https://api.github.com/users/Emerentius/following{/other_user}","gists_url":"https://api.github.com/users/Emerentius/gists{/gist_id}","starred_url":"https://api.github.com/users/Emerentius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Emerentius/subscriptions","organizations_url":"https://api.github.com/users/Emerentius/orgs","repos_url":"https://api.github.com/users/Emerentius/repos","events_url":"https://api.github.com/users/Emerentius/events{/privacy}","received_events_url":"https://api.github.com/users/Emerentius/received_events","type":"User","site_admin":false},"labels":[{"id":628020901,"node_id":"MDU6TGFiZWw2MjgwMjA5MDE=","url":"https://api.github.com/repos/Aaronepower/tokei/labels/Easy","name":"Easy","color":"c2e0c6","default":false},{"id":216548202,"node_id":"MDU6TGFiZWwyMTY1NDgyMDI=","url":"https://api.github.com/repos/Aaronepower/tokei/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":216548203,"node_id":"MDU6TGFiZWwyMTY1NDgyMDM=","url":"https://api.github.com/repos/Aaronepower/tokei/labels/help%20wanted","name":"help wanted","color":"159818","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-08-25T22:39:38Z","updated_at":"2018-08-27T15:05:33Z","closed_at":null,"author_association":"NONE","body":"Skimming through the new comparison between tools, I noticed how all of them use the visually noisy hyphen `-----` lines. The [box drawing characters](https://en.wikipedia.org/wiki/Box-drawing_character) could be used to have clean, uninterrupted lines. These improve aesthetics and improve readability.\r\nOf course, this requires unicode support. I wasn't sure if the choice of hyphens was deliberate to support legacy terminals.\r\n\r\nSome comparisons:\r\n```\r\n-----------------------------------------------------------------------------------\r\n Language                Files        Lines         Code     Comments       Blanks\r\n-----------------------------------------------------------------------------------\r\n Dockerfile                 14          251          219            6           26\r\n Markdown                    3          180          180            0            0\r\n Rust                      102        41073        28770         8630         3673\r\n Shell                       6          310          195           63           52\r\n TOML                        8          141          120            3           18\r\n XML                         1       134861       133755            0         1106\r\n-----------------------------------------------------------------------------------\r\n Total                     134       176816       163239         8702         4875\r\n-----------------------------------------------------------------------------------\r\n```\r\n\r\n```\r\n───────────────────────────────────────────────────────────────────────────────────\r\n Language                Files        Lines         Code     Comments       Blanks\r\n───────────────────────────────────────────────────────────────────────────────────\r\n Dockerfile                 14          251          219            6           26\r\n Markdown                    3          180          180            0            0\r\n Rust                      102        41073        28770         8630         3673\r\n Shell                       6          310          195           63           52\r\n TOML                        8          141          120            3           18\r\n XML                         1       134861       133755            0         1106\r\n───────────────────────────────────────────────────────────────────────────────────\r\n Total                     134       176816       163239         8702         4875\r\n───────────────────────────────────────────────────────────────────────────────────\r\n```\r\n\r\n\r\nFollowing LaTeX `booktabs` style:\r\n```\r\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\r\n  Language                Files        Lines         Code     Comments       Blanks\r\n───────────────────────────────────────────────────────────────────────────────────\r\n Dockerfile                 14          251          219            6           26\r\n Markdown                    3          180          180            0            0\r\n Rust                      102        41073        28770         8630         3673\r\n Shell                       6          310          195           63           52\r\n TOML                        8          141          120            3           18\r\n XML                         1       134861       133755            0         1106\r\n───────────────────────────────────────────────────────────────────────────────────\r\n Total                     134       176816       163239         8702         4875\r\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\r\n```"},"comment":{"url":"https://api.github.com/repos/Aaronepower/tokei/issues/comments/416257890","html_url":"https://github.com/Aaronepower/tokei/issues/249#issuecomment-416257890","issue_url":"https://api.github.com/repos/Aaronepower/tokei/issues/249","id":416257890,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNjI1Nzg5MA==","user":{"login":"Aaronepower","id":4464295,"node_id":"MDQ6VXNlcjQ0NjQyOTU=","avatar_url":"https://avatars2.githubusercontent.com/u/4464295?v=4","gravatar_id":"","url":"https://api.github.com/users/Aaronepower","html_url":"https://github.com/Aaronepower","followers_url":"https://api.github.com/users/Aaronepower/followers","following_url":"https://api.github.com/users/Aaronepower/following{/other_user}","gists_url":"https://api.github.com/users/Aaronepower/gists{/gist_id}","starred_url":"https://api.github.com/users/Aaronepower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aaronepower/subscriptions","organizations_url":"https://api.github.com/users/Aaronepower/orgs","repos_url":"https://api.github.com/users/Aaronepower/repos","events_url":"https://api.github.com/users/Aaronepower/events{/privacy}","received_events_url":"https://api.github.com/users/Aaronepower/received_events","type":"User","site_admin":false},"created_at":"2018-08-27T15:05:33Z","updated_at":"2018-08-27T15:05:33Z","author_association":"OWNER","body":"@Emerentius That code looks fine overall. Once you've done the testing that this works for the big three platforms and published on crates.io, feel free to make a PR!"}}
{"actor":{"display_login":"Aaronepower"}}