@ -24,6 +24,8 @@ gui:
- bold
inactiveBorderColor:
- white
selectedLineBgColor:
- blue
optionsTextColor:
returnImmediately: false
@ -71,6 +71,7 @@ type UserConfig struct {
type ThemeConfig struct {
ActiveBorderColor []string `yaml:"activeBorderColor,omitempty"`
InactiveBorderColor []string `yaml:"inactiveBorderColor,omitempty"`
SelectedLineBgColor []string `yaml:"selectedLineBgColor,omitempty"`
OptionsTextColor []string `yaml:"optionsTextColor,omitempty"`
}
@ -361,6 +362,7 @@ func GetDefaultConfig() UserConfig {
Theme: ThemeConfig{
ActiveBorderColor: []string{"green", "bold"},
InactiveBorderColor: []string{"default"},
SelectedLineBgColor: []string{"blue"},
OptionsTextColor: []string{"blue"},
},
ShowAllContainers: false,
@ -101,7 +101,7 @@ func (gui *Gui) createAllViews() error {
(*mapping.viewPtr).FgColor = gocui.ColorDefault
selectedLineBgColor := gocui.ColorBlue
selectedLineBgColor := GetGocuiStyle(gui.Config.UserConfig.Gui.Theme.SelectedLineBgColor)
gui.Views.Main.Wrap = gui.Config.UserConfig.Gui.WrapMainPanel
// 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.