mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-25 08:31:03 +00:00
Merge a0819d6b91 into 7e7aadc207
This commit is contained in:
commit
398c265cab
5 changed files with 6 additions and 6 deletions
|
|
@ -46,7 +46,7 @@ func getHistoryResponseItemDisplayStrings(layer image.HistoryResponseItem) []str
|
||||||
}
|
}
|
||||||
idColor := color.FgWhite
|
idColor := color.FgWhite
|
||||||
if id == "<missing>" {
|
if id == "<missing>" {
|
||||||
idColor = color.FgBlue
|
idColor = color.FgCyan
|
||||||
}
|
}
|
||||||
|
|
||||||
dockerFileCommandPrefix := "/bin/sh -c #(nop) "
|
dockerFileCommandPrefix := "/bin/sh -c #(nop) "
|
||||||
|
|
@ -62,7 +62,7 @@ func getHistoryResponseItemDisplayStrings(layer image.HistoryResponseItem) []str
|
||||||
size := utils.FormatBinaryBytes(int(layer.Size))
|
size := utils.FormatBinaryBytes(int(layer.Size))
|
||||||
sizeColor := color.FgWhite
|
sizeColor := color.FgWhite
|
||||||
if size == "0B" {
|
if size == "0B" {
|
||||||
sizeColor = color.FgBlue
|
sizeColor = color.FgCyan
|
||||||
}
|
}
|
||||||
|
|
||||||
return []string{
|
return []string{
|
||||||
|
|
|
||||||
|
|
@ -366,7 +366,7 @@ func GetDefaultConfig() UserConfig {
|
||||||
ActiveBorderColor: []string{"green", "bold"},
|
ActiveBorderColor: []string{"green", "bold"},
|
||||||
InactiveBorderColor: []string{"default"},
|
InactiveBorderColor: []string{"default"},
|
||||||
SelectedLineBgColor: []string{"blue"},
|
SelectedLineBgColor: []string{"blue"},
|
||||||
OptionsTextColor: []string{"blue"},
|
OptionsTextColor: []string{"cyan"},
|
||||||
},
|
},
|
||||||
ShowAllContainers: false,
|
ShowAllContainers: false,
|
||||||
ReturnImmediately: false,
|
ReturnImmediately: false,
|
||||||
|
|
|
||||||
|
|
@ -193,7 +193,7 @@ func getContainerColor(c *commands.Container) color.Attribute {
|
||||||
case "dead":
|
case "dead":
|
||||||
return color.FgRed
|
return color.FgRed
|
||||||
case "restarting":
|
case "restarting":
|
||||||
return color.FgBlue
|
return color.FgCyan
|
||||||
case "removing":
|
case "removing":
|
||||||
return color.FgMagenta
|
return color.FgMagenta
|
||||||
default:
|
default:
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ func GetServiceDisplayStrings(guiConfig *config.GuiConfig, service *commands.Ser
|
||||||
}
|
}
|
||||||
|
|
||||||
return []string{
|
return []string{
|
||||||
utils.ColoredString(containerState, color.FgBlue),
|
utils.ColoredString(containerState, color.FgCyan),
|
||||||
"",
|
"",
|
||||||
service.Name,
|
service.Name,
|
||||||
"",
|
"",
|
||||||
|
|
|
||||||
|
|
@ -54,7 +54,7 @@ func (gui *Gui) runCommand(cmd *exec.Cmd, msg string) {
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
|
||||||
fmt.Fprintf(os.Stdout, "\n%s\n\n", utils.ColoredString("+ "+strings.Join(cmd.Args, " "), color.FgBlue))
|
fmt.Fprintf(os.Stdout, "\n%s\n\n", utils.ColoredString("+ "+strings.Join(cmd.Args, " "), color.FgCyan))
|
||||||
if msg != "" {
|
if msg != "" {
|
||||||
fmt.Fprintf(os.Stdout, "\n%s\n\n", utils.ColoredString(msg, color.FgGreen))
|
fmt.Fprintf(os.Stdout, "\n%s\n\n", utils.ColoredString(msg, color.FgGreen))
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue