Skip to content
Myr

Fixed invisible progressbars.

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

This fixes #464

authored by Armin Ronacher · committed by Armin Ronacher · parent 3978d0e · Browse files · 2 files+3 added−1 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−1 removed

  • other:+3 added−1 removed

2 files+3 added−1 removed

modified:click/_termui_impl.py+1 added-1 removed
189 unmodified lines
190 }).rstrip()191192 def render_progress(self):193 from .termui import get_terminal_size194 clear_width = self.width195196 if self.is_hidden:197 buf = [self.label]198 else:
9 unmodified lines
208 buf.append(' ' * self.max_width)209 self.max_width = new_width210 self.width = new_width211211 clear_width = self.width212 if self.max_width is not None:213 clear_width = self.max_width214215 buf.append(BEFORE_BAR)
330 unmodified lines
modified:CHANGES+2 added
6 unmodified lines
7-----------89(bugfix release, release date to be decided)1011- Resolved an issue with invisible progress bars no longer rendering.1213Version 6.014-----------1516(codename "pow pow", released on November 24th 2015)
290 unmodified lines