Merge branch 'linegraph-color-order'

This commit is contained in:
Caleb Bassi 2018-02-27 14:32:44 -08:00
commit 632f45197e
4 changed files with 9 additions and 6 deletions

View File

@ -7,7 +7,7 @@ var Default = Colorscheme{
BorderLabel: 7,
BorderLine: 6,
CPULines: []int{1, 2, 3, 4, 5, 6, 7, 8},
CPULines: []int{4, 3, 2, 1, 5, 6, 7, 8},
MainMem: 5,
SwapMem: 11,

View File

@ -7,7 +7,7 @@ var Monokai = Colorscheme{
BorderLabel: 249,
BorderLine: 239,
CPULines: []int{197, 208, 70, 81, 249, 141, 221, 186},
CPULines: []int{81, 70, 208, 197, 249, 141, 221, 186},
MainMem: 208,
SwapMem: 186,

View File

@ -7,7 +7,7 @@ var Solarized = Colorscheme{
BorderLabel: 250,
BorderLine: 37,
CPULines: []int{64, 37, 33, 61, 125, 160, 166, 136},
CPULines: []int{61, 33, 37, 64, 125, 160, 166, 136},
MainMem: 125,
SwapMem: 166,

View File

@ -1,12 +1,15 @@
package colorschemes
/*
the standard 256 terminal colors are supported
The standard 256 terminal colors are supported.
-1 = clear
You can combine a color with Bold, Underline, or Reverse by using bitwise OR ('|').
For example, to get Bold red Labels, you would do 'Labels: 2 | Bold'
You can combine a color with 'Bold', 'Underline', or 'Reverse' by using bitwise OR ('|').
For example, to get Bold red Labels, you would do 'Labels: 2 | Bold'.
Once you've created a colorscheme, add an entry for it in the `handleColorscheme` function
in `gotop.go`.
*/
// Ignore this