Skip to content

Commit

Permalink
Add smoothing check before printing newline
Browse files Browse the repository at this point in the history
  • Loading branch information
AnnikaV9 committed Sep 27, 2022
1 parent 027acc3 commit 71c9e61
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lowbar/__init__.py
Expand Up @@ -106,6 +106,7 @@ def __exit__(self, *exc) -> None:
self.clear()

else:
self._block_when_smoothing()
print()

def __iter__(self) -> object:
Expand All @@ -131,6 +132,7 @@ def __iter__(self) -> object:
self.clear()

else:
self._block_when_smoothing()
print()

def _print_internal(self, text: str) -> None:
Expand Down

0 comments on commit 71c9e61

Please sign in to comment.