mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-29 23:30:04 +01:00
8da9502df6
app/vmctl: automatically detect if TTY is available
9 lines
125 B
Go
9 lines
125 B
Go
//go:build darwin
|
|
// +build darwin
|
|
|
|
package terminal
|
|
|
|
import "golang.org/x/sys/unix"
|
|
|
|
const ioctlReadTermios = unix.TIOCGETA
|