Skip to content
Myr

Fixed an issue with progress bars not being rendered on enter. This fixes #168

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Armin Ronacher · committed by Armin Ronacher · parent 11db867 · Browse files · 2 files+3 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+3 added−0 removed

  • other:+3 added−0 removed

2 files+3 added−0 removed

modified:click/_termui_impl.py+1 added
87 unmodified lines
88 self.is_hidden = not isatty(self.file)8990 def __enter__(self):91 self.entered = True92 self.render_progress()93 return self9495 def __exit__(self, exc_type, exc_value, tb):96 self.render_finish()
388 unmodified lines
modified:CHANGES+2 added
17 unmodified lines
18- fixed an issue with custom function types on Python 3.19- fixed an issue with unknown options being incorrectly reported20 in error messages.21- fixed tty detection on PyPy.22- fixed an issue that progress bars were not rendered when the23 context manager was entered.2425Version 2.026-----------27
53 unmodified lines