Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
htop
Commits
e5f810e0
Commit
e5f810e0
authored
Jul 14, 2015
by
Hisham Muhammad
Browse files
Merge pull request #226 from eworm-de/nice
paint PROCESS_LOW_PRIORITY in green
parents
b1aea7f7
a588c6d1
Changes
1
Show whitespace changes
Inline
Side-by-side
CRT.c
View file @
e5f810e0
...
...
@@ -180,7 +180,7 @@ int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = {
[
PROCESS_R_STATE
]
=
ColorPair
(
Green
,
Black
),
[
PROCESS_D_STATE
]
=
A_BOLD
|
ColorPair
(
Red
,
Black
),
[
PROCESS_HIGH_PRIORITY
]
=
ColorPair
(
Red
,
Black
),
[
PROCESS_LOW_PRIORITY
]
=
ColorPair
(
Red
,
Black
),
[
PROCESS_LOW_PRIORITY
]
=
ColorPair
(
Green
,
Black
),
[
PROCESS_THREAD
]
=
ColorPair
(
Green
,
Black
),
[
PROCESS_THREAD_BASENAME
]
=
A_BOLD
|
ColorPair
(
Green
,
Black
),
[
BAR_BORDER
]
=
A_BOLD
,
...
...
@@ -298,7 +298,7 @@ int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = {
[
PROCESS_R_STATE
]
=
ColorPair
(
Green
,
White
),
[
PROCESS_D_STATE
]
=
A_BOLD
|
ColorPair
(
Red
,
White
),
[
PROCESS_HIGH_PRIORITY
]
=
ColorPair
(
Red
,
White
),
[
PROCESS_LOW_PRIORITY
]
=
ColorPair
(
Red
,
White
),
[
PROCESS_LOW_PRIORITY
]
=
ColorPair
(
Green
,
White
),
[
PROCESS_THREAD
]
=
ColorPair
(
Blue
,
White
),
[
PROCESS_THREAD_BASENAME
]
=
A_BOLD
|
ColorPair
(
Blue
,
White
),
[
BAR_BORDER
]
=
ColorPair
(
Blue
,
White
),
...
...
@@ -357,7 +357,7 @@ int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = {
[
PROCESS_R_STATE
]
=
ColorPair
(
Green
,
Black
),
[
PROCESS_D_STATE
]
=
A_BOLD
|
ColorPair
(
Red
,
Black
),
[
PROCESS_HIGH_PRIORITY
]
=
ColorPair
(
Red
,
Black
),
[
PROCESS_LOW_PRIORITY
]
=
ColorPair
(
Red
,
Black
),
[
PROCESS_LOW_PRIORITY
]
=
ColorPair
(
Green
,
Black
),
[
PROCESS_THREAD
]
=
ColorPair
(
Blue
,
Black
),
[
PROCESS_THREAD_BASENAME
]
=
A_BOLD
|
ColorPair
(
Blue
,
Black
),
[
BAR_BORDER
]
=
ColorPair
(
Blue
,
Black
),
...
...
@@ -416,7 +416,7 @@ int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = {
[
PROCESS_R_STATE
]
=
ColorPair
(
Green
,
Blue
),
[
PROCESS_D_STATE
]
=
A_BOLD
|
ColorPair
(
Red
,
Blue
),
[
PROCESS_HIGH_PRIORITY
]
=
ColorPair
(
Red
,
Blue
),
[
PROCESS_LOW_PRIORITY
]
=
ColorPair
(
Red
,
Blue
),
[
PROCESS_LOW_PRIORITY
]
=
ColorPair
(
Green
,
Blue
),
[
PROCESS_THREAD
]
=
ColorPair
(
Green
,
Blue
),
[
PROCESS_THREAD_BASENAME
]
=
A_BOLD
|
ColorPair
(
Green
,
Blue
),
[
BAR_BORDER
]
=
A_BOLD
|
ColorPair
(
Yellow
,
Blue
),
...
...
@@ -477,7 +477,7 @@ int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = {
[
PROCESS_R_STATE
]
=
ColorPair
(
Green
,
Black
),
[
PROCESS_D_STATE
]
=
A_BOLD
|
ColorPair
(
Red
,
Black
),
[
PROCESS_HIGH_PRIORITY
]
=
ColorPair
(
Red
,
Black
),
[
PROCESS_LOW_PRIORITY
]
=
ColorPair
(
Red
,
Black
),
[
PROCESS_LOW_PRIORITY
]
=
ColorPair
(
Green
,
Black
),
[
BAR_BORDER
]
=
A_BOLD
|
ColorPair
(
Green
,
Black
),
[
BAR_SHADOW
]
=
ColorPair
(
Cyan
,
Black
),
[
SWAP
]
=
ColorPair
(
Red
,
Black
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment