Some terminals (like PyCharm Console) clear whole line if \r sign is printed. As fastprogress almost always prints \r at the end of line, nothing is displayed in such terminals.
This pull request adds a workaround for this bug and sets line ending to empty string if requested by the user. Moreover, it forces print function to flush the output. Usage:
Some terminals (like PyCharm Console) clear whole line if
\r
sign is printed. Asfastprogress
almost always prints\r
at the end of line, nothing is displayed in such terminals.This pull request adds a workaround for this bug and sets line ending to empty string if requested by the user. Moreover, it forces
print
function to flush the output. Usage: