diff options
-rw-r--r-- | ttystatus/messager.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ttystatus/messager.py b/ttystatus/messager.py index 823f25e..53ab1c8 100644 --- a/ttystatus/messager.py +++ b/ttystatus/messager.py @@ -140,8 +140,9 @@ class Messager(object): def finish(self): '''Finalize output.''' - self._overwrite(self._cached_msg) - self._raw_write('\n') + if self._last_msg or self._cached_msg: + self._overwrite(self._cached_msg) + self._raw_write('\n') def disable(self): '''Disable all output.''' |