Tests && gomod

This commit is contained in:
2022-10-29 15:34:40 +02:00
parent c7924cd9ff
commit 85b6d17df0
5 changed files with 51 additions and 43 deletions

View File

@@ -1,5 +1,7 @@
package termext
import "golang.org/x/sys/windows"
func enableColor() bool {
handle, err := windows.GetStdHandle(windows.STD_OUTPUT_HANDLE)
if err != nil {