Simplify how we enable ANSI colors on Windows

This commit is contained in:
Christian Rocha
2021-07-29 17:36:29 -04:00
parent 8574b87a44
commit e1ca585c16
3 changed files with 2 additions and 6 deletions

View File

@@ -34,6 +34,8 @@ func (p *Program) initInput() error {
c := console.Current()
p.console = c
enableAnsiColors(p.output)
return nil
}