utils/ofhttp: Get terminal width for progress bar