Merge pull request #3456 from chiizujin/weighted_rows

Fix weighted_rows() sometimes 'losing' items
This commit is contained in:
Griatch 2024-03-30 15:44:00 +01:00 committed by GitHub
commit af5cfb83df
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2070,7 +2070,7 @@ def format_grid(elements, width=78, sep=" ", verbatim_elements=None, line_prefi
else:
row += " " * max(0, width - lrow)
rows.append(row)
row = ""
row = element
ic = 0
else:
# add a new slot