diff options
author | Lars Wirzenius <liw@liw.fi> | 2011-01-30 19:01:51 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2011-01-30 19:01:51 +0000 |
commit | c70818c596b752d3e807736723a1cf64353ccbaf (patch) | |
tree | d6020888f24a33fa0bf5680b277c5c044a9790a0 /ttystatus/status.py | |
parent | ebf5abb9285ae04f18466f22f03d3e074cff309e (diff) | |
download | python-ttystatus-c70818c596b752d3e807736723a1cf64353ccbaf.tar.gz |
Add test for TerminalStatus.disable method.
Diffstat (limited to 'ttystatus/status.py')
-rw-r--r-- | ttystatus/status.py | 6 |
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.''' |