summaryrefslogtreecommitdiff
path: root/ttystatus/status.py
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2011-01-30 19:01:51 +0000
committerLars Wirzenius <liw@liw.fi>2011-01-30 19:01:51 +0000
commitc70818c596b752d3e807736723a1cf64353ccbaf (patch)
treed6020888f24a33fa0bf5680b277c5c044a9790a0 /ttystatus/status.py
parentebf5abb9285ae04f18466f22f03d3e074cff309e (diff)
downloadpython-ttystatus-c70818c596b752d3e807736723a1cf64353ccbaf.tar.gz
Add test for TerminalStatus.disable method.
Diffstat (limited to 'ttystatus/status.py')
-rw-r--r--ttystatus/status.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/ttystatus/status.py b/ttystatus/status.py
index 6d42ba7..81354f9 100644
--- a/ttystatus/status.py
+++ b/ttystatus/status.py
@@ -85,3 +85,9 @@ class TerminalStatus(object):
def finish(self):
'''Finish status display.'''
self._m.finish()
+
+ def disable(self):
+ '''Disable all output.'''
+
+ def enable(self):
+ '''Enable output if it has been disabled.'''