Commit 515f31eb authored by Committed by Timo Teräs
progress: shorten bar to prevent newlines on some terminals
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% ").
Showing with 1 addition and 1 deletion