Merge remote-tracking branch 'origin' into go-gh-term
This commit is contained in:
commit
38d465b1da
7 changed files with 1134 additions and 4 deletions
|
|
@ -66,6 +66,7 @@ func mainRun() exitCode {
|
|||
stderr := cmdFactory.IOStreams.ErrOut
|
||||
if !cmdFactory.IOStreams.ColorEnabled() {
|
||||
surveyCore.DisableColor = true
|
||||
ansi.DisableColors(true)
|
||||
} else {
|
||||
// override survey's poor choice of color
|
||||
surveyCore.TemplateFuncsWithColor["color"] = func(style string) string {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue