Waqar144/progressbar

The end contains ss after a second run.

spytheman opened this issue · 1 comments

You may need to scroll to the right to see the second s sign :-| .

0[12:41:28]delian@nemesis: /v/nv $ git clone https://github.com/Waqar144/progressbar.git /v/progressbar
Cloning into '/v/progressbar'...
remote: Enumerating objects: 63, done.
remote: Counting objects: 100% (63/63), done.
remote: Compressing objects: 100% (38/38), done.
remote: Total 63 (delta 25), reused 45 (delta 17), pack-reused 0
Unpacking objects: 100% (63/63), done.
0[12:44:52]delian@nemesis: /v/nv $ cd /v/progressbar
0[12:44:53]delian@nemesis: /v/progressbar $ /v/nv/v demo.v
0[12:45:00]delian@nemesis: /v/progressbar $ /v/nv/v run demo.v
Smooth |=======================================================================================================================================================================| ETA:0h0m6s
Waqar |------------------------------------------------------------------------------------------------------------------------------------------------------------------------| ETA:0h0m6s
0[12:45:18]delian@nemesis: /v/progressbar $ /v/nv/v run demo.v
Smooth |=======================================================================================================================================================================| ETA:0h0m6ss
Waqar |------------------------------------------------------------------------------------------------------------------------------------------------------------------------| ETA:0h0m6ss
0[12:45:44]delian@nemesis: /v/progressbar $
0[12:45:46]delian@nemesis: /v/progressbar $
0[12:45:46]delian@nemesis: /v/progressbar $
0[12:45:46]delian@nemesis: /v/progressbar $ /v/nv/v run demo.v
Smooth |=======================================================================================================================================================================| ETA:0h0m6ss
Waqar |------------------------------------------------------------------------------------------------------------------------------------------------------------------------| ETA:0h0m6ss
0[12:46:02]delian@nemesis: /v/progressbar $

Ah nice find. Thanks!
Happens if the seconds go above 10 and then fall below 10, the s remains written