diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-10-20 21:40:51 +0200 |
---|---|---|
committer | cgzones <cgzones@googlemail.com> | 2020-10-26 19:17:14 +0100 |
commit | f757810f489b12d2a98dcb09751003f4ed002538 (patch) | |
tree | 4558520309803981d20d8c0aa6ab100211d9bd48 /CRT.c | |
parent | 167adc0a2b4a940cae6c9eb71f3185b5d2d3b4fa (diff) |
Improve handling of no data in Disk and Network IO Meters
Diffstat (limited to 'CRT.c')
-rw-r--r-- | CRT.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -94,6 +94,7 @@ int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = { [LARGE_NUMBER] = A_BOLD | ColorPair(Red,Black), [METER_TEXT] = ColorPair(Cyan,Black), [METER_VALUE] = A_BOLD | ColorPair(Cyan,Black), + [METER_VALUE_ERROR] = A_BOLD | ColorPair(Red,Black), [METER_VALUE_NOTICE] = A_BOLD | ColorPair(White,Black), [METER_VALUE_IOREAD] = ColorPair(Green,Black), [METER_VALUE_IOWRITE] = ColorPair(Blue,Black), @@ -170,6 +171,7 @@ int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = { [LARGE_NUMBER] = A_BOLD, [METER_TEXT] = A_NORMAL, [METER_VALUE] = A_BOLD, + [METER_VALUE_ERROR] = A_BOLD, [METER_VALUE_NOTICE] = A_BOLD, [METER_VALUE_IOREAD] = A_NORMAL, [METER_VALUE_IOWRITE] = A_NORMAL, @@ -246,6 +248,7 @@ int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = { [LARGE_NUMBER] = ColorPair(Red,White), [METER_TEXT] = ColorPair(Blue,White), [METER_VALUE] = ColorPair(Black,White), + [METER_VALUE_ERROR] = A_BOLD | ColorPair(Red,White), [METER_VALUE_NOTICE] = A_BOLD | ColorPair(Yellow,White), [METER_VALUE_IOREAD] = ColorPair(Green,White), [METER_VALUE_IOWRITE] = ColorPair(Yellow,White), @@ -322,6 +325,7 @@ int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = { [LARGE_NUMBER] = ColorPair(Red,Black), [METER_TEXT] = ColorPair(Blue,Black), [METER_VALUE] = ColorPair(Blue,Black), + [METER_VALUE_ERROR] = A_BOLD | ColorPair(Red,Black), [METER_VALUE_NOTICE] = A_BOLD | ColorPair(Yellow,Black), [METER_VALUE_IOREAD] = ColorPair(Green,Black), [METER_VALUE_IOWRITE] = ColorPair(Yellow,Black), @@ -398,6 +402,7 @@ int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = { [LARGE_NUMBER] = A_BOLD | ColorPair(Red,Blue), [METER_TEXT] = ColorPair(Cyan,Blue), [METER_VALUE] = A_BOLD | ColorPair(Cyan,Blue), + [METER_VALUE_ERROR] = A_BOLD | ColorPair(Red,Blue), [METER_VALUE_NOTICE] = A_BOLD | ColorPair(White,Blue), [METER_VALUE_IOREAD] = ColorPair(Green,Blue), [METER_VALUE_IOWRITE] = ColorPair(Black,Blue), @@ -474,6 +479,7 @@ int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = { [LARGE_NUMBER] = A_BOLD | ColorPair(Red,Black), [METER_TEXT] = ColorPair(Cyan,Black), [METER_VALUE] = ColorPair(Green,Black), + [METER_VALUE_ERROR] = A_BOLD | ColorPair(Red,Black), [METER_VALUE_NOTICE] = A_BOLD | ColorPair(Yellow,Black), [METER_VALUE_IOREAD] = ColorPair(Green,Black), [METER_VALUE_IOWRITE] = ColorPair(Blue,Black), |