mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 20:24:35 +03:00
Highlight new and old processes (#74)
This commit is contained in:
12
CRT.c
12
CRT.c
@ -111,6 +111,8 @@ int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = {
|
||||
[PROCESS_D_STATE] = A_BOLD | ColorPair(Red,Black),
|
||||
[PROCESS_HIGH_PRIORITY] = ColorPair(Red,Black),
|
||||
[PROCESS_LOW_PRIORITY] = ColorPair(Green,Black),
|
||||
[PROCESS_NEW] = ColorPair(Black,Green),
|
||||
[PROCESS_TOMB] = ColorPair(Black,Red),
|
||||
[PROCESS_THREAD] = ColorPair(Green,Black),
|
||||
[PROCESS_THREAD_BASENAME] = A_BOLD | ColorPair(Green,Black),
|
||||
[BAR_BORDER] = A_BOLD,
|
||||
@ -188,6 +190,8 @@ int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = {
|
||||
[PROCESS_D_STATE] = A_BOLD,
|
||||
[PROCESS_HIGH_PRIORITY] = A_BOLD,
|
||||
[PROCESS_LOW_PRIORITY] = A_DIM,
|
||||
[PROCESS_NEW] = A_BOLD,
|
||||
[PROCESS_TOMB] = A_DIM,
|
||||
[PROCESS_THREAD] = A_BOLD,
|
||||
[PROCESS_THREAD_BASENAME] = A_REVERSE,
|
||||
[BAR_BORDER] = A_BOLD,
|
||||
@ -265,6 +269,8 @@ int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = {
|
||||
[PROCESS_D_STATE] = A_BOLD | ColorPair(Red,White),
|
||||
[PROCESS_HIGH_PRIORITY] = ColorPair(Red,White),
|
||||
[PROCESS_LOW_PRIORITY] = ColorPair(Green,White),
|
||||
[PROCESS_NEW] = ColorPair(White,Green),
|
||||
[PROCESS_TOMB] = ColorPair(White,Red),
|
||||
[PROCESS_THREAD] = ColorPair(Blue,White),
|
||||
[PROCESS_THREAD_BASENAME] = A_BOLD | ColorPair(Blue,White),
|
||||
[BAR_BORDER] = ColorPair(Blue,White),
|
||||
@ -342,6 +348,8 @@ int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = {
|
||||
[PROCESS_D_STATE] = A_BOLD | ColorPair(Red,Black),
|
||||
[PROCESS_HIGH_PRIORITY] = ColorPair(Red,Black),
|
||||
[PROCESS_LOW_PRIORITY] = ColorPair(Green,Black),
|
||||
[PROCESS_NEW] = ColorPair(Black,Green),
|
||||
[PROCESS_TOMB] = ColorPair(Black,Red),
|
||||
[PROCESS_THREAD] = ColorPair(Blue,Black),
|
||||
[PROCESS_THREAD_BASENAME] = A_BOLD | ColorPair(Blue,Black),
|
||||
[BAR_BORDER] = ColorPair(Blue,Black),
|
||||
@ -419,6 +427,8 @@ int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = {
|
||||
[PROCESS_D_STATE] = A_BOLD | ColorPair(Red,Blue),
|
||||
[PROCESS_HIGH_PRIORITY] = ColorPair(Red,Blue),
|
||||
[PROCESS_LOW_PRIORITY] = ColorPair(Green,Blue),
|
||||
[PROCESS_NEW] = ColorPair(Blue,Green),
|
||||
[PROCESS_TOMB] = ColorPair(Blue,Red),
|
||||
[PROCESS_THREAD] = ColorPair(Green,Blue),
|
||||
[PROCESS_THREAD_BASENAME] = A_BOLD | ColorPair(Green,Blue),
|
||||
[BAR_BORDER] = A_BOLD | ColorPair(Yellow,Blue),
|
||||
@ -498,6 +508,8 @@ int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = {
|
||||
[PROCESS_D_STATE] = A_BOLD | ColorPair(Red,Black),
|
||||
[PROCESS_HIGH_PRIORITY] = ColorPair(Red,Black),
|
||||
[PROCESS_LOW_PRIORITY] = ColorPair(Green,Black),
|
||||
[PROCESS_NEW] = ColorPair(Black,Green),
|
||||
[PROCESS_TOMB] = ColorPair(Black,Red),
|
||||
[BAR_BORDER] = A_BOLD | ColorPair(Green,Black),
|
||||
[BAR_SHADOW] = ColorPair(Cyan,Black),
|
||||
[SWAP] = ColorPair(Red,Black),
|
||||
|
Reference in New Issue
Block a user