mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 20:24:35 +03:00
Add read-only option
Add command line option to disable all system and process changing features.
This commit is contained in:

committed by
cgzones

parent
812cfcb94d
commit
36880cd61c
6
CRT.c
6
CRT.c
@ -166,6 +166,7 @@ static int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = {
|
||||
[LOAD_AVERAGE_ONE] = A_BOLD | ColorPair(White, Black),
|
||||
[LOAD] = A_BOLD,
|
||||
[HELP_BOLD] = A_BOLD | ColorPair(Cyan, Black),
|
||||
[HELP_SHADOW] = A_BOLD | ColorPairGrayBlack,
|
||||
[CLOCK] = A_BOLD,
|
||||
[DATE] = A_BOLD,
|
||||
[DATETIME] = A_BOLD,
|
||||
@ -258,6 +259,7 @@ static int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = {
|
||||
[LOAD_AVERAGE_ONE] = A_BOLD,
|
||||
[LOAD] = A_BOLD,
|
||||
[HELP_BOLD] = A_BOLD,
|
||||
[HELP_SHADOW] = A_DIM,
|
||||
[CLOCK] = A_BOLD,
|
||||
[DATE] = A_BOLD,
|
||||
[DATETIME] = A_BOLD,
|
||||
@ -350,6 +352,7 @@ static int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = {
|
||||
[LOAD_AVERAGE_ONE] = ColorPair(Black, White),
|
||||
[LOAD] = ColorPair(Black, White),
|
||||
[HELP_BOLD] = ColorPair(Blue, White),
|
||||
[HELP_SHADOW] = A_BOLD | ColorPair(Black, White),
|
||||
[CLOCK] = ColorPair(Black, White),
|
||||
[DATE] = ColorPair(Black, White),
|
||||
[DATETIME] = ColorPair(Black, White),
|
||||
@ -442,6 +445,7 @@ static int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = {
|
||||
[LOAD_AVERAGE_ONE] = ColorPair(Black, Black),
|
||||
[LOAD] = ColorPairWhiteDefault,
|
||||
[HELP_BOLD] = ColorPair(Blue, Black),
|
||||
[HELP_SHADOW] = A_BOLD | ColorPairGrayBlack,
|
||||
[CLOCK] = ColorPairWhiteDefault,
|
||||
[DATE] = ColorPairWhiteDefault,
|
||||
[DATETIME] = ColorPairWhiteDefault,
|
||||
@ -534,6 +538,7 @@ static int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = {
|
||||
[LOAD_AVERAGE_ONE] = A_BOLD | ColorPair(White, Blue),
|
||||
[LOAD] = A_BOLD | ColorPair(White, Blue),
|
||||
[HELP_BOLD] = A_BOLD | ColorPair(Cyan, Blue),
|
||||
[HELP_SHADOW] = A_BOLD | ColorPair(Black, Blue),
|
||||
[CLOCK] = ColorPair(White, Blue),
|
||||
[DATE] = ColorPair(White, Blue),
|
||||
[DATETIME] = ColorPair(White, Blue),
|
||||
@ -626,6 +631,7 @@ static int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = {
|
||||
[LOAD_AVERAGE_ONE] = A_BOLD | ColorPair(Green, Black),
|
||||
[LOAD] = A_BOLD,
|
||||
[HELP_BOLD] = A_BOLD | ColorPair(Cyan, Black),
|
||||
[HELP_SHADOW] = A_BOLD | ColorPairGrayBlack,
|
||||
[CLOCK] = ColorPair(Green, Black),
|
||||
[CHECK_BOX] = ColorPair(Green, Black),
|
||||
[CHECK_MARK] = A_BOLD | ColorPair(Green, Black),
|
||||
|
Reference in New Issue
Block a user