diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-10-13 16:03:37 +0200 |
---|---|---|
committer | Christian Göttsche <cgzones@googlemail.com> | 2020-10-19 14:45:39 +0200 |
commit | 96e2a4259eb0cdf279b83d899f805d274d13a94f (patch) | |
tree | 5ba621678c8089032da1ae2721665d8f67b7bb2f /htop.c | |
parent | 0db398d4c3472071b2814505242450cd8f831501 (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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |