We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36bd914 commit 4d5ace8Copy full SHA for 4d5ace8
cv/__init__.py
@@ -41,7 +41,7 @@ class AppConfig(object):
41
42
class Main(object):
43
def nprint(self, str):
44
- if self.config.monitor or self.config.monitor_continuous:
+ if self.config.curses:
45
self.mainwin.addstr(str)
46
else:
47
print(str, end="")
@@ -222,7 +222,8 @@ def main(self):
222
results = []
223
while True:
224
results = self.monitor_processes()
225
- self.mainwin.refresh()
226
+ self.mainwin.refresh()
227
if self.config.monitor_continuous and not results:
228
sleep(self.config.throughput_wait_secs)
229
if not ((self.config.monitor and results) or self.config.monitor_continuous):
0 commit comments