mirror of
https://github.com/taigrr/bubbletea.git
synced 2026-04-02 02:59:09 -07:00
Simplify how we enable ANSI colors on Windows
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
package tea
|
||||
|
||||
import (
|
||||
"io"
|
||||
"os"
|
||||
|
||||
"github.com/containerd/console"
|
||||
@@ -40,7 +39,3 @@ func openInputTTY() (*os.File, error) {
|
||||
}
|
||||
return f, nil
|
||||
}
|
||||
|
||||
// enableAnsiColors is only needed for Windows, so for other systems this is
|
||||
// a no-op.
|
||||
func enableAnsiColors(_ io.Writer) {}
|
||||
|
||||
Reference in New Issue
Block a user