diff --git a/dashing/dashing.py b/dashing/dashing.py index a74a333..1991ae6 100644 --- a/dashing/dashing.py +++ b/dashing/dashing.py @@ -266,9 +266,9 @@ def _display(self, tbox, parent): line = self.logs[start + i] print(tbox.t.move(tbox.x + i, tbox.y) + line + " " * (tbox.w - len(line))) - if i < tbox.h: - for i2 in range(i + 1, tbox.h): - print(tbox.t.move(tbox.x + i2, tbox.y) + " " * tbox.w) + if i < tbox.h: + for i2 in range(i + 1, tbox.h): + print(tbox.t.move(tbox.x + i2, tbox.y) + " " * tbox.w) def append(self, msg): """Append a new log message at the bottom"""