diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-10-05 15:14:54 +0200 |
---|---|---|
committer | cgzones <cgzones@googlemail.com> | 2020-10-12 13:04:00 +0200 |
commit | b47bc667a254c1b1a8d6b5a635ca73f6c91c2e1a (patch) | |
tree | 56a5f89246329bf188f8387ec3b8a9af13ce254b /htop.c | |
parent | fc301b74473f2dc87dca6a338ac17126a058f68d (diff) |
Add key to pause process list updates
Diffstat (limited to 'htop.c')
-rw-r--r-- | htop.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -283,6 +283,7 @@ int main(int argc, char** argv) { .pl = pl, .panel = (Panel*) panel, .header = header, + .pauseProcessUpdate = false, }; MainPanel_setState(panel, &state); @@ -290,7 +291,7 @@ int main(int argc, char** argv) { setCommFilter(&state, &(flags.commFilter)); } - ScreenManager* scr = ScreenManager_new(0, header->height, 0, -1, HORIZONTAL, header, settings, true); + ScreenManager* scr = ScreenManager_new(0, header->height, 0, -1, HORIZONTAL, header, settings, &state, true); ScreenManager_add(scr, (Panel*) panel, -1); ProcessList_scan(pl); |