Use correct output when enabling ANSI colors on Windows (see #39)

This commit is contained in:
Christian Rocha
2020-12-30 22:08:38 -05:00
parent c4aeadd762
commit 64da3bcf7a
3 changed files with 12 additions and 4 deletions

View File

@@ -2,6 +2,8 @@
package tea
import "io"
// enableAnsiColors is only needed for Windows, so for other systems this is
// a no-op.
func enableAnsiColors() {}
func enableAnsiColors(w io.Writer) {}