Fix failing checks

This commit is contained in:
Benj Fassbind committed 2022-04-05 11:41:14 +02:00
1 parent 0302e39d57
commit 8046fb1eb9
4 files changed
+17 -12

No files matched your search

+2 -2
View File
@@ -3,10 +3,10 @@ package console
import (
"syscall"
"golang.org/x/crypto/ssh/terminal"
"golang.org/x/term"
)
// RunningOnTerminal checks whether stdout is terminal
func RunningOnTerminal() bool {
return terminal.IsTerminal(syscall.Stdout)
return term.IsTerminal(syscall.Stdout)
}