Skip to content
Myr

Corrected col distance check

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 4a8cf56 · Browse files · 1 file+1 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

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:click/formatting.py+1 added-1 removed
182 unmodified lines
183 first_col = min(widths[0], col_max) + col_spacing184185 for first, second in iter_rows(rows, len(widths)):186 self.write('%*s%s' % (self.current_indent, '', first))187 if len(first) <= first_col:187 if len(first) <= first_col - col_spacing:188 self.write(' ' * (first_col - len(first)))189 else:190 self.write('\n')191 self.write(' ' * (first_col + self.current_indent))
33 unmodified lines