diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2014-06-04 16:45:55 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2014-06-04 16:45:55 -0300 |
commit | eb196f8ba490536dc0bd26a3f316014af1823be3 (patch) | |
tree | 2b28f4d3fac739796b371665df447139f40371c2 | |
parent | 8a1c304bedae0d1693d44b1ec50c2c6aadc0e6c8 (diff) |
Get two data points for meters.
Ensure one mini-reading-cycle runs before getting the UI active
so we have two data points to get better meter measurements from
the get-go.
-rw-r--r-- | htop.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -507,8 +507,10 @@ int main(int argc, char** argv) { IncSet* inc = IncSet_new(defaultBar); + ProcessList_scan(pl); millisleep(75); + ProcessList_scan(pl); FunctionBar_draw(defaultBar, NULL); |