mirror of
https://github.com/golang/term.git
synced 2026-01-29 07:02:06 +03:00
Done with: go get go@1.18 go mod tidy go fix ./... Using go1.21.3. For golang/go#60268. Change-Id: Ic6a53c8e217966f5f95b3a968b25ef123b4b99cf Reviewed-on: https://go-review.googlesource.com/c/term/+/534475 Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
13 lines
349 B
Go
13 lines
349 B
Go
// Copyright 2013 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
//go:build darwin || dragonfly || freebsd || netbsd || openbsd
|
|
|
|
package term
|
|
|
|
import "golang.org/x/sys/unix"
|
|
|
|
const ioctlReadTermios = unix.TIOCGETA
|
|
const ioctlWriteTermios = unix.TIOCSETA
|