{"action":"created","issue":{"url":"https://api.github.com/repos/cheggaaa/pb/issues/110","repository_url":"https://api.github.com/repos/cheggaaa/pb","labels_url":"https://api.github.com/repos/cheggaaa/pb/issues/110/labels{/name}","comments_url":"https://api.github.com/repos/cheggaaa/pb/issues/110/comments","events_url":"https://api.github.com/repos/cheggaaa/pb/issues/110/events","html_url":"https://github.com/cheggaaa/pb/issues/110","id":248182179,"node_id":"MDU6SXNzdWUyNDgxODIxNzk=","number":110,"title":"How to print text when bar is running?","user":{"login":"violarulan","id":10095657,"node_id":"MDQ6VXNlcjEwMDk1NjU3","avatar_url":"https://avatars1.githubusercontent.com/u/10095657?v=4","gravatar_id":"","url":"https://api.github.com/users/violarulan","html_url":"https://github.com/violarulan","followers_url":"https://api.github.com/users/violarulan/followers","following_url":"https://api.github.com/users/violarulan/following{/other_user}","gists_url":"https://api.github.com/users/violarulan/gists{/gist_id}","starred_url":"https://api.github.com/users/violarulan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/violarulan/subscriptions","organizations_url":"https://api.github.com/users/violarulan/orgs","repos_url":"https://api.github.com/users/violarulan/repos","events_url":"https://api.github.com/users/violarulan/events{/privacy}","received_events_url":"https://api.github.com/users/violarulan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-08-05T12:18:34Z","updated_at":"2018-10-02T07:18:22Z","closed_at":null,"author_association":"NONE","body":"Hello, thanks for your work. \r\nI want to print some log when the progress bar is running. But I run in to trouble.\r\n\r\nWhat I want to achieve:\r\n```\r\nsome log 0\r\nsome log 1\r\nsome log 2\r\nsome log 3\r\nsome log 4\r\nsome log 5\r\nsome log 6\r\nsome log 7\r\nsome log 8\r\nsome log 9\r\n 10 / 10 [=================================================] 100.00% 4s\r\nThe End!\r\n```\r\n\r\nI got this:\r\n```\r\n 0 / 10 [-----------------------------------------------------]   0.00%some log 0\r\n 1 / 10 [====>---------------------------------------------]  10.00% 1ssome log 1\r\n 2 / 10 [=========>----------------------------------------]  20.00% 2ssome log 2\r\n 3 / 10 [==============>-----------------------------------]  30.00% 2ssome log 3\r\n 4 / 10 [===================>------------------------------]  40.00% 2ssome log 4\r\n 5 / 10 [========================>-------------------------]  50.00% 1ssome log 5\r\n 6 / 10 [=============================>--------------------]  60.00% 1ssome log 6\r\n 7 / 10 [==================================>---------------]  70.00% 1ssome log 7\r\n 8 / 10 [=======================================>----------]  80.00% 0ssome log 8\r\n 9 / 10 [============================================>-----]  90.00% 0ssome log 9\r\n 10 / 10 [=================================================] 100.00% 4s\r\nThe End!\r\n```\r\n\r\nmy code:\r\n```go\r\npackage main\r\n\r\nimport (\r\n\t\"gopkg.in/cheggaaa/pb.v1\"\r\n\t\"time\"\r\n\t\"fmt\"\r\n)\r\n\r\nfunc main() {\r\n\tcount := 10\r\n\tbar := pb.StartNew(count)\r\n\tfor i := 0; i < count; i++ {\r\n\t\tfmt.Println(\"some log\", i)\r\n\t\tbar.Increment()\r\n\t\ttime.Sleep(400 * time.Millisecond)\r\n\t}\r\n\tbar.FinishPrint(\"The End!\")\r\n}\r\n```\r\n\r\nhave tested on `Ubuntu 14.04` with `zsh 5.0.2`\r\n\r\nis there any direction I can look for?\r\n\r\nThanks in advance!"},"comment":{"url":"https://api.github.com/repos/cheggaaa/pb/issues/comments/426173444","html_url":"https://github.com/cheggaaa/pb/issues/110#issuecomment-426173444","issue_url":"https://api.github.com/repos/cheggaaa/pb/issues/110","id":426173444,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjE3MzQ0NA==","user":{"login":"101usb","id":10565029,"node_id":"MDQ6VXNlcjEwNTY1MDI5","avatar_url":"https://avatars3.githubusercontent.com/u/10565029?v=4","gravatar_id":"","url":"https://api.github.com/users/101usb","html_url":"https://github.com/101usb","followers_url":"https://api.github.com/users/101usb/followers","following_url":"https://api.github.com/users/101usb/following{/other_user}","gists_url":"https://api.github.com/users/101usb/gists{/gist_id}","starred_url":"https://api.github.com/users/101usb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/101usb/subscriptions","organizations_url":"https://api.github.com/users/101usb/orgs","repos_url":"https://api.github.com/users/101usb/repos","events_url":"https://api.github.com/users/101usb/events{/privacy}","received_events_url":"https://api.github.com/users/101usb/received_events","type":"User","site_admin":false},"created_at":"2018-10-02T07:18:22Z","updated_at":"2018-10-02T07:18:22Z","author_association":"NONE","body":"Бро, все с нетерпением ждём этого нововведения!"}}
{"actor":{"display_login":"101usb"}}