mirror of https://github.com/docker/compose.git
use faint for "in progress" to distingish completed/failed
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
814259ae33
commit
f69ada632a
|
@ -32,7 +32,7 @@ func NewProgressWriter() ProgressWriter {
|
||||||
}
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
cyan = "36;1"
|
blue = "36;2"
|
||||||
red = "31;1"
|
red = "31;1"
|
||||||
green = "32;1"
|
green = "32;1"
|
||||||
)
|
)
|
||||||
|
@ -126,7 +126,7 @@ func (c ansiConsole) KO(s string) string {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c ansiConsole) WiP(s string) string {
|
func (c ansiConsole) WiP(s string) string {
|
||||||
return ansiColor(cyan, s)
|
return ansiColor(blue, s)
|
||||||
}
|
}
|
||||||
|
|
||||||
func ansiColor(code, s string) string {
|
func ansiColor(code, s string) string {
|
||||||
|
|
Loading…
Reference in New Issue