diff --git a/visidata/threads.py b/visidata/threads.py index 347516561..f812cf0db 100644 --- a/visidata/threads.py +++ b/visidata/threads.py @@ -351,7 +351,7 @@ def __exit__(self, exc_type, exc_val, tb): vd.threads.remove(self.thread) else: if self.thread.sheet: - if vd.options.disp_expert or vd.options.profile: + if vd.options.disp_expert < 0 or vd.options.profile: vd.status(f'[:bold]{self.thread.sheet.name[:32]}.{self.thread.name}[/] finished in {elapsed_s(self.thread):.1f}s') if vd.options.profile: self.thread.profile.dump_stats(f'{self.thread.name}.pyprof')