mirror of https://github.com/xzeldon/htop.git
Revert color change on LightTerminal
Partially revert 4b14ab9789
ColorPair(Black,Black) is not actually black on black, but due to
adjustments in CRT_setColors() black on default-background-color.
Thanks to V for reporting.
This commit is contained in:
parent
bfcb8ca019
commit
6ae56f2578
42
CRT.c
42
CRT.c
|
@ -351,10 +351,10 @@ static int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = {
|
||||||
[ZRAM] = ColorPair(Yellow, White)
|
[ZRAM] = ColorPair(Yellow, White)
|
||||||
},
|
},
|
||||||
[COLORSCHEME_LIGHTTERMINAL] = {
|
[COLORSCHEME_LIGHTTERMINAL] = {
|
||||||
[RESET_COLOR] = ColorPair(Blue, Black),
|
[RESET_COLOR] = ColorPair(Black, Black),
|
||||||
[DEFAULT_COLOR] = ColorPair(Blue, Black),
|
[DEFAULT_COLOR] = ColorPair(Black, Black),
|
||||||
[FUNCTION_BAR] = ColorPair(Black, Cyan),
|
[FUNCTION_BAR] = ColorPair(Black, Cyan),
|
||||||
[FUNCTION_KEY] = ColorPair(Blue, Black),
|
[FUNCTION_KEY] = ColorPair(Black, Black),
|
||||||
[PANEL_HEADER_FOCUS] = ColorPair(Black, Green),
|
[PANEL_HEADER_FOCUS] = ColorPair(Black, Green),
|
||||||
[PANEL_HEADER_UNFOCUS] = ColorPair(Black, Green),
|
[PANEL_HEADER_UNFOCUS] = ColorPair(Black, Green),
|
||||||
[PANEL_SELECTION_FOCUS] = ColorPair(Black, Cyan),
|
[PANEL_SELECTION_FOCUS] = ColorPair(Black, Cyan),
|
||||||
|
@ -367,7 +367,7 @@ static int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = {
|
||||||
[BATTERY] = ColorPair(Yellow, Black),
|
[BATTERY] = ColorPair(Yellow, Black),
|
||||||
[LARGE_NUMBER] = ColorPair(Red, Black),
|
[LARGE_NUMBER] = ColorPair(Red, Black),
|
||||||
[METER_TEXT] = ColorPair(Blue, Black),
|
[METER_TEXT] = ColorPair(Blue, Black),
|
||||||
[METER_VALUE] = ColorPair(Blue, Black),
|
[METER_VALUE] = ColorPair(Black, Black),
|
||||||
[METER_VALUE_ERROR] = A_BOLD | ColorPair(Red, Black),
|
[METER_VALUE_ERROR] = A_BOLD | ColorPair(Red, Black),
|
||||||
[METER_VALUE_IOREAD] = ColorPair(Green, Black),
|
[METER_VALUE_IOREAD] = ColorPair(Green, Black),
|
||||||
[METER_VALUE_IOWRITE] = ColorPair(Yellow, Black),
|
[METER_VALUE_IOWRITE] = ColorPair(Yellow, Black),
|
||||||
|
@ -376,9 +376,9 @@ static int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = {
|
||||||
[METER_VALUE_WARN] = A_BOLD | ColorPair(Yellow, Black),
|
[METER_VALUE_WARN] = A_BOLD | ColorPair(Yellow, Black),
|
||||||
[LED_COLOR] = ColorPair(Green, Black),
|
[LED_COLOR] = ColorPair(Green, Black),
|
||||||
[TASKS_RUNNING] = ColorPair(Green, Black),
|
[TASKS_RUNNING] = ColorPair(Green, Black),
|
||||||
[PROCESS] = ColorPair(Blue, Black),
|
[PROCESS] = ColorPair(Black, Black),
|
||||||
[PROCESS_SHADOW] = A_BOLD | ColorPairGrayBlack,
|
[PROCESS_SHADOW] = A_BOLD | ColorPairGrayBlack,
|
||||||
[PROCESS_TAG] = ColorPair(Yellow, Blue),
|
[PROCESS_TAG] = ColorPair(White, Blue),
|
||||||
[PROCESS_MEGABYTES] = ColorPair(Blue, Black),
|
[PROCESS_MEGABYTES] = ColorPair(Blue, Black),
|
||||||
[PROCESS_GIGABYTES] = ColorPair(Green, Black),
|
[PROCESS_GIGABYTES] = ColorPair(Green, Black),
|
||||||
[PROCESS_BASENAME] = ColorPair(Green, Black),
|
[PROCESS_BASENAME] = ColorPair(Green, Black),
|
||||||
|
@ -402,34 +402,34 @@ static int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = {
|
||||||
[MEMORY_BUFFERS] = ColorPair(Cyan, Black),
|
[MEMORY_BUFFERS] = ColorPair(Cyan, Black),
|
||||||
[MEMORY_BUFFERS_TEXT] = ColorPair(Cyan, Black),
|
[MEMORY_BUFFERS_TEXT] = ColorPair(Cyan, Black),
|
||||||
[MEMORY_CACHE] = ColorPair(Yellow, Black),
|
[MEMORY_CACHE] = ColorPair(Yellow, Black),
|
||||||
[LOAD_AVERAGE_FIFTEEN] = ColorPair(Blue, Black),
|
[LOAD_AVERAGE_FIFTEEN] = ColorPair(Black, Black),
|
||||||
[LOAD_AVERAGE_FIVE] = ColorPair(Blue, Black),
|
[LOAD_AVERAGE_FIVE] = ColorPair(Black, Black),
|
||||||
[LOAD_AVERAGE_ONE] = ColorPair(Yellow, Black),
|
[LOAD_AVERAGE_ONE] = ColorPair(Black, Black),
|
||||||
[LOAD] = ColorPair(Yellow, Black),
|
[LOAD] = ColorPair(White, Black),
|
||||||
[HELP_BOLD] = ColorPair(Blue, Black),
|
[HELP_BOLD] = ColorPair(Blue, Black),
|
||||||
[CLOCK] = ColorPair(Yellow, Black),
|
[CLOCK] = ColorPair(White, Black),
|
||||||
[DATE] = ColorPair(White, Black),
|
[DATE] = ColorPair(White, Black),
|
||||||
[DATETIME] = ColorPair(White, Black),
|
[DATETIME] = ColorPair(White, Black),
|
||||||
[CHECK_BOX] = ColorPair(Blue, Black),
|
[CHECK_BOX] = ColorPair(Blue, Black),
|
||||||
[CHECK_MARK] = ColorPair(Blue, Black),
|
[CHECK_MARK] = ColorPair(Black, Black),
|
||||||
[CHECK_TEXT] = ColorPair(Blue, Black),
|
[CHECK_TEXT] = ColorPair(Black, Black),
|
||||||
[HOSTNAME] = ColorPair(Yellow, Black),
|
[HOSTNAME] = ColorPair(White, Black),
|
||||||
[CPU_NICE] = ColorPair(Cyan, Black),
|
[CPU_NICE] = ColorPair(Cyan, Black),
|
||||||
[CPU_NICE_TEXT] = ColorPair(Cyan, Black),
|
[CPU_NICE_TEXT] = ColorPair(Cyan, Black),
|
||||||
[CPU_NORMAL] = ColorPair(Green, Black),
|
[CPU_NORMAL] = ColorPair(Green, Black),
|
||||||
[CPU_SYSTEM] = ColorPair(Red, Black),
|
[CPU_SYSTEM] = ColorPair(Red, Black),
|
||||||
[CPU_IOWAIT] = A_BOLD | ColorPair(Blue, Black),
|
[CPU_IOWAIT] = A_BOLD | ColorPair(Black, Black),
|
||||||
[CPU_IRQ] = A_BOLD | ColorPair(Blue, Black),
|
[CPU_IRQ] = A_BOLD | ColorPair(Blue, Black),
|
||||||
[CPU_SOFTIRQ] = ColorPair(Blue, Black),
|
[CPU_SOFTIRQ] = ColorPair(Blue, Black),
|
||||||
[CPU_STEAL] = ColorPair(Blue, Black),
|
[CPU_STEAL] = ColorPair(Black, Black),
|
||||||
[CPU_GUEST] = ColorPair(Blue, Black),
|
[CPU_GUEST] = ColorPair(Black, Black),
|
||||||
[PRESSURE_STALL_THREEHUNDRED] = ColorPair(Blue, Black),
|
[PRESSURE_STALL_THREEHUNDRED] = ColorPair(Black, Black),
|
||||||
[PRESSURE_STALL_SIXTY] = ColorPair(Blue, Black),
|
[PRESSURE_STALL_SIXTY] = ColorPair(Black, Black),
|
||||||
[PRESSURE_STALL_TEN] = ColorPair(Blue, Black),
|
[PRESSURE_STALL_TEN] = ColorPair(Black, Black),
|
||||||
[ZFS_MFU] = ColorPair(Cyan, Black),
|
[ZFS_MFU] = ColorPair(Cyan, Black),
|
||||||
[ZFS_MRU] = ColorPair(Yellow, Black),
|
[ZFS_MRU] = ColorPair(Yellow, Black),
|
||||||
[ZFS_ANON] = A_BOLD | ColorPair(Magenta, Black),
|
[ZFS_ANON] = A_BOLD | ColorPair(Magenta, Black),
|
||||||
[ZFS_HEADER] = ColorPair(Blue, Black),
|
[ZFS_HEADER] = ColorPair(Black, Black),
|
||||||
[ZFS_OTHER] = A_BOLD | ColorPair(Magenta, Black),
|
[ZFS_OTHER] = A_BOLD | ColorPair(Magenta, Black),
|
||||||
[ZFS_COMPRESSED] = ColorPair(Cyan, Black),
|
[ZFS_COMPRESSED] = ColorPair(Cyan, Black),
|
||||||
[ZFS_RATIO] = A_BOLD | ColorPair(Magenta, Black),
|
[ZFS_RATIO] = A_BOLD | ColorPair(Magenta, Black),
|
||||||
|
|
Loading…
Reference in New Issue