1
0
mirror of https://github.com/rancher/os.git synced 2025-08-31 14:23:11 +00:00
Files
os/util/term.go

10 lines
122 B
Go

// +build linux
package util
import "github.com/tredoe/term"
func IsRunningInTty() bool {
return term.IsTerminal(1)
}