157
157
"""Construct and return a new ProgressView subclass for this UI.
159
159
# with --quiet, never any progress view
161
161
# user specifically requests either text or no progress bars, always
162
162
# do that. otherwise, guess based on $TERM and tty presence.