formatting

This commit is contained in:
Will McGugan 2021-01-10 22:02:38 +00:00
parent b0908df479
commit 8932125df1
2 changed files with 3 additions and 3 deletions

View File

@ -177,7 +177,7 @@ class VerticalCenter(JupyterMixin):
top_space = (height - len(lines)) // 2 top_space = (height - len(lines)) // 2
bottom_space = height - top_space - len(lines) - 1 bottom_space = height - top_space - len(lines) - 1
if top_space > 0: if top_space > 0:
yield Segment(f"\n" * top_space) yield Segment("\n" * top_space)
for line in lines: for line in lines:
yield from line yield from line
yield new_line yield new_line