d4b51a3438
no significant changes in vendored code, other than updating build-tags for go1.17, but removes some dependencies from the module, which can help with future updates; full diff: https://github.com/moby/term/compare/3f7ff695adc6...abb19827d345664b1f8d301092abf7c33bd7461e Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
14 lines
208 B
Go
14 lines
208 B
Go
//go:build darwin || freebsd || openbsd || netbsd
|
|
// +build darwin freebsd openbsd netbsd
|
|
|
|
package term
|
|
|
|
import (
|
|
"golang.org/x/sys/unix"
|
|
)
|
|
|
|
const (
|
|
getTermios = unix.TIOCGETA
|
|
setTermios = unix.TIOCSETA
|
|
)
|