VictoriaMetrics/app/vmctl/terminal/terminal.go

7 lines
136 B
Go
Raw Normal View History

package terminal
// IsTerminal returns true if the file descriptor is terminal
func IsTerminal(fd int) bool {
return isTerminal(fd)
}