diff options
author | Lars Wirzenius <liw@liw.fi> | 2017-06-03 17:22:57 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2017-06-03 17:22:57 +0300 |
commit | 57d78a5f4030846bf78829b3f2916f4543e1874f (patch) | |
tree | b026a1886af7f49c8b6566974666f0d4e864f2b9 /example.py | |
parent | 7016d5fd00b6c1960a531f796dddf1afdf2aecf0 (diff) | |
download | ttystatus-57d78a5f4030846bf78829b3f2916f4543e1874f.tar.gz |
Add: TerminalStatus.hide method
Diffstat (limited to 'example.py')
-rw-r--r-- | example.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -57,6 +57,9 @@ def main(): if os.path.islink(pathname): ts['symlink'] = pathname ts.notify('Symlink! %s' % pathname) + ts.hide() + sys.stdout.write('THIS IS STDOUT!\n') + ts.flush() elif 'error' in pathname: ts.error('Error in pathname: %s' % pathname) ts['done'] += 1 |