Always enable color for now
This commit is contained in:
parent
719217d64d
commit
17d085b13a
|
@ -3,9 +3,7 @@ package main
|
||||||
import (
|
import (
|
||||||
"os"
|
"os"
|
||||||
"os/signal"
|
"os/signal"
|
||||||
"runtime"
|
|
||||||
|
|
||||||
"code.google.com/p/go.crypto/ssh/terminal"
|
|
||||||
"github.com/hashicorp/terraform/command"
|
"github.com/hashicorp/terraform/command"
|
||||||
"github.com/mitchellh/cli"
|
"github.com/mitchellh/cli"
|
||||||
)
|
)
|
||||||
|
@ -29,8 +27,6 @@ func init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
meta := command.Meta{
|
meta := command.Meta{
|
||||||
Color: runtime.GOOS == "windows" ||
|
|
||||||
terminal.IsTerminal(int(os.Stdout.Fd())),
|
|
||||||
ContextOpts: &ContextOpts,
|
ContextOpts: &ContextOpts,
|
||||||
Ui: Ui,
|
Ui: Ui,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue