summaryrefslogtreecommitdiffstats
path: root/htop.c
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-10-13 16:03:37 +0200
committerChristian Göttsche <cgzones@googlemail.com>2020-10-19 14:45:39 +0200
commit96e2a4259eb0cdf279b83d899f805d274d13a94f (patch)
tree5ba621678c8089032da1ae2721665d8f67b7bb2f /htop.c
parent0db398d4c3472071b2814505242450cd8f831501 (diff)
Continue to update generic data in paused mode
Generic data, as CPU and memory usage, are used by Meters. In paused mode they would stop receiving updates and especially Graph Meters would stop showing continuous data. Improves: #214 Closes: #253
Diffstat (limited to 'htop.c')
-rw-r--r--htop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/htop.c b/htop.c
index 7d1c1b16..8ff2baaf 100644
--- a/htop.c
+++ b/htop.c
@@ -303,9 +303,9 @@ int main(int argc, char** argv) {
ScreenManager* scr = ScreenManager_new(0, header->height, 0, -1, HORIZONTAL, header, settings, &state, true);
ScreenManager_add(scr, (Panel*) panel, -1);
- ProcessList_scan(pl);
+ ProcessList_scan(pl, false);
millisleep(75);
- ProcessList_scan(pl);
+ ProcessList_scan(pl, false);
ScreenManager_run(scr, NULL, NULL);

© 2014-2024 Faster IT GmbH | imprint | privacy policy