File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 2424 - bold
2525 inactiveBorderColor :
2626 - white
27+ selectedLineBgColor :
28+ - blue
2729 optionsTextColor :
2830 - blue
2931 returnImmediately : false
Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ type UserConfig struct {
7171type ThemeConfig struct {
7272 ActiveBorderColor []string `yaml:"activeBorderColor,omitempty"`
7373 InactiveBorderColor []string `yaml:"inactiveBorderColor,omitempty"`
74+ SelectedLineBgColor []string `yaml:"selectedLineBgColor,omitempty"`
7475 OptionsTextColor []string `yaml:"optionsTextColor,omitempty"`
7576}
7677
@@ -361,6 +362,7 @@ func GetDefaultConfig() UserConfig {
361362 Theme : ThemeConfig {
362363 ActiveBorderColor : []string {"green" , "bold" },
363364 InactiveBorderColor : []string {"default" },
365+ SelectedLineBgColor : []string {"blue" },
364366 OptionsTextColor : []string {"blue" },
365367 },
366368 ShowAllContainers : false ,
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ func (gui *Gui) createAllViews() error {
101101 (* mapping .viewPtr ).FgColor = gocui .ColorDefault
102102 }
103103
104- selectedLineBgColor := gocui . ColorBlue
104+ selectedLineBgColor := GetGocuiStyle ( gui . Config . UserConfig . Gui . Theme . SelectedLineBgColor )
105105
106106 gui .Views .Main .Wrap = gui .Config .UserConfig .Gui .WrapMainPanel
107107 // when you run a docker container with the -it flags (interactive mode) it adds carriage returns for some reason. This is not docker's fault, it's an os-level default.
You can’t perform that action at this time.
0 commit comments