summaryrefslogtreecommitdiff
path: root/pkg/terminal
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/terminal')
-rw-r--r--pkg/terminal/console_unix.go3
-rw-r--r--pkg/terminal/console_windows.go1
2 files changed, 3 insertions, 1 deletions
diff --git a/pkg/terminal/console_unix.go b/pkg/terminal/console_unix.go
index 6eee6aa2f..53290be24 100644
--- a/pkg/terminal/console_unix.go
+++ b/pkg/terminal/console_unix.go
@@ -1,8 +1,9 @@
+//go:build !windows
// +build !windows
package terminal
-// SetConsole for non-windows environments is a no-op
+// SetConsole for non-windows environments is a no-op.
func SetConsole() error {
return nil
}
diff --git a/pkg/terminal/console_windows.go b/pkg/terminal/console_windows.go
index 9a636d681..1a7da3335 100644
--- a/pkg/terminal/console_windows.go
+++ b/pkg/terminal/console_windows.go
@@ -1,3 +1,4 @@
+//go:build windows
// +build windows
package terminal