From c7924cd9ffd961e207210da4a9dec1f0d7a5b0e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Sat, 29 Oct 2022 15:20:20 +0200 Subject: [PATCH] fix `GOOS=windows` / `GOOS=darwin` builds --- termext/{osutil.go => osutil_darwin.go} | 0 termext/osutil_linux.go | 5 +++++ 2 files changed, 5 insertions(+) rename termext/{osutil.go => osutil_darwin.go} (100%) create mode 100644 termext/osutil_linux.go diff --git a/termext/osutil.go b/termext/osutil_darwin.go similarity index 100% rename from termext/osutil.go rename to termext/osutil_darwin.go diff --git a/termext/osutil_linux.go b/termext/osutil_linux.go new file mode 100644 index 0000000..d611aba --- /dev/null +++ b/termext/osutil_linux.go @@ -0,0 +1,5 @@ +package termext + +func enableColor() bool { + return true +}