• Avi Halachmi's avatar
    progress: shorten bar to prevent newlines on some terminals · 515f31eb
    Avi Halachmi authored
    On some (probably buggy) terminals, printing up to the rightmost column
    may end up with the terminal issueing a newline (probably due to putting
    the cursor at the next char -> new line).
    
    Some other progress bars avoid it by not reaching the rightmost column.
    
    Shorten the bar width from term-width - 7 to -8 (the 7 are "xxx% []").
    515f31eb
Name
Last commit
Last update
src Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
Make.rules Loading commit data...
Makefile Loading commit data...
NEWS Loading commit data...
README Loading commit data...