Fix Progress printing on Windows systems

The cursor must be restored after the line is printed, not before.
Take into account the visible viewport to correctly compute the terminal
size.
3010bfb08aLemonBoy committed on 3/12/2021, 9:15:38 AMparent4fc2e92
1 file changedLine totals unavailable