don't show progress bar if not in a TTY

this fixes 'tput: No value for $TERM and no -T specified' error