mirror of https://github.com/xzeldon/htop.git
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.
This commit is contained in:
parent
8a1c304bed
commit
eb196f8ba4
2
htop.c
2
htop.c
|
@ -507,8 +507,10 @@ int main(int argc, char** argv) {
|
||||||
|
|
||||||
IncSet* inc = IncSet_new(defaultBar);
|
IncSet* inc = IncSet_new(defaultBar);
|
||||||
|
|
||||||
|
|
||||||
ProcessList_scan(pl);
|
ProcessList_scan(pl);
|
||||||
millisleep(75);
|
millisleep(75);
|
||||||
|
ProcessList_scan(pl);
|
||||||
|
|
||||||
FunctionBar_draw(defaultBar, NULL);
|
FunctionBar_draw(defaultBar, NULL);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue