diff options
author | Lars Wirzenius <liw@liw.fi> | 2010-06-05 13:53:54 +1200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2010-06-05 13:53:54 +1200 |
commit | 20048bb5d257f019454ecbebb5ccda385b11694b (patch) | |
tree | c3ff12c6055c5b88a5d090fd8b986456ca77b185 /ttystatus/messager.py | |
parent | 8c1491860ffcf6870e87a1a1276524fe3c8c0ffc (diff) | |
download | python-ttystatus-20048bb5d257f019454ecbebb5ccda385b11694b.tar.gz |
Add Messager.finish.
Diffstat (limited to 'ttystatus/messager.py')
-rw-r--r-- | ttystatus/messager.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ttystatus/messager.py b/ttystatus/messager.py index 42a202d..a54f0ce 100644 --- a/ttystatus/messager.py +++ b/ttystatus/messager.py @@ -69,3 +69,7 @@ class Messager(object): self.clear() self.output.write('%s\n' % string) self._raw_write(old) + + def finish(self): + '''Finalize output.''' + self.clear() |