{"action":"created","issue":{"url":"https://api.github.com/repos/WoLpH/python-progressbar/issues/33","labels_url":"https://api.github.com/repos/WoLpH/python-progressbar/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/WoLpH/python-progressbar/issues/33/comments","events_url":"https://api.github.com/repos/WoLpH/python-progressbar/issues/33/events","html_url":"https://github.com/WoLpH/python-progressbar/issues/33","id":115405474,"number":33,"title":"Width of progressbar is wrong","user":{"login":"MaxNoe","id":5488440,"avatar_url":"https://avatars.githubusercontent.com/u/5488440?v=3","gravatar_id":"","url":"https://api.github.com/users/MaxNoe","html_url":"https://github.com/MaxNoe","followers_url":"https://api.github.com/users/MaxNoe/followers","following_url":"https://api.github.com/users/MaxNoe/following{/other_user}","gists_url":"https://api.github.com/users/MaxNoe/gists{/gist_id}","starred_url":"https://api.github.com/users/MaxNoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaxNoe/subscriptions","organizations_url":"https://api.github.com/users/MaxNoe/orgs","repos_url":"https://api.github.com/users/MaxNoe/repos","events_url":"https://api.github.com/users/MaxNoe/events{/privacy}","received_events_url":"https://api.github.com/users/MaxNoe/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-11-06T00:12:47Z","updated_at":"2015-11-15T22:03:02Z","closed_at":"2015-11-15T00:18:34Z","body":"```\r\n 10% (1 of 10) |##                          | Elapsed Time: 0:00:00 ETA: 0:00:0\r\n 20% (2 of 10) |#####                       | Elapsed Time: 0:00:00 ETA: 0:00:0\r\n 30% (3 of 10) |########                    | Elapsed Time: 0:00:00 ETA: 0:00:0\r\n 40% (4 of 10) |###########                 | Elapsed Time: 0:00:00 ETA: 0:00:0\r\n 50% (5 of 10) |##############              | Elapsed Time: 0:00:00 ETA: 0:00:0  \r\n 60% (6 of 10) |################            | Elapsed Time: 0:00:00 ETA: 0:00:0 \r\n 70% (7 of 10) |###################         | Elapsed Time: 0:00:00 ETA: 0:00:0\r\n 80% (8 of 10) |######################      | Elapsed Time: 0:00:00 ETA: 0:00:0\r\n 90% (9 of 10) |#########################   | Elapsed Time: 0:00:00 ETA: 0:00:0\r\n100% (10 of 10) |#############################| Elapsed Time: 0:00:01 Time: 1.00\r\n```\r\n\r\narch linux, i3wm, rxvt-unicode-256 color\r\nAlso on windows in mysy2"},"comment":{"url":"https://api.github.com/repos/WoLpH/python-progressbar/issues/comments/156859530","html_url":"https://github.com/WoLpH/python-progressbar/issues/33#issuecomment-156859530","issue_url":"https://api.github.com/repos/WoLpH/python-progressbar/issues/33","id":156859530,"user":{"login":"WoLpH","id":270571,"avatar_url":"https://avatars.githubusercontent.com/u/270571?v=3","gravatar_id":"","url":"https://api.github.com/users/WoLpH","html_url":"https://github.com/WoLpH","followers_url":"https://api.github.com/users/WoLpH/followers","following_url":"https://api.github.com/users/WoLpH/following{/other_user}","gists_url":"https://api.github.com/users/WoLpH/gists{/gist_id}","starred_url":"https://api.github.com/users/WoLpH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WoLpH/subscriptions","organizations_url":"https://api.github.com/users/WoLpH/orgs","repos_url":"https://api.github.com/users/WoLpH/repos","events_url":"https://api.github.com/users/WoLpH/events{/privacy}","received_events_url":"https://api.github.com/users/WoLpH/received_events","type":"User","site_admin":false},"created_at":"2015-11-15T22:03:02Z","updated_at":"2015-11-15T22:03:02Z","body":"Oops... indeed, it's gone now :)\r\n\r\nAs for collapsing widgets, not impossible to achieve but I'm not sure how to implement that cleanly in the base code. Generally screens are fairly large these days but it's a bit of a waste of screenspace indeed.\r\n\r\nI've just pushed out a new release that has support for something along those lines. Give this code a try:\r\n```python\r\nimport time\r\nimport progressbar\r\n\r\nbar = progressbar.ProgressBar(widgets=[\r\n    progressbar.Timer(min_width=200),\r\n    progressbar.Bar(),\r\n])\r\nfor i in bar(range(200)):\r\n    time.sleep(0.1)\r\n```"}}