mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-16 05:54:34 +03:00
IOMeters: rework initial display
Show a non highlighted string at the start of htop, not the failure
text.
Also the original fix only handled the text mode, not the bar mode.
Improves: 2977414d
("Discard stale information from DiskIO and NetworkIO meters")
Related: #860
This commit is contained in:

committed by
BenBE

parent
3cfdf66d9a
commit
63fafb4844
7
Meter.h
7
Meter.h
@ -134,6 +134,13 @@ typedef enum {
|
||||
LAST_METERMODE
|
||||
} MeterModeId;
|
||||
|
||||
typedef enum {
|
||||
RATESTATUS_DATA,
|
||||
RATESTATUS_INIT,
|
||||
RATESTATUS_NODATA,
|
||||
RATESTATUS_STALE
|
||||
} MeterRateStatus;
|
||||
|
||||
extern const MeterClass Meter_class;
|
||||
|
||||
Meter* Meter_new(const ProcessList* pl, unsigned int param, const MeterClass* type);
|
||||
|
Reference in New Issue
Block a user