mirror of
https://github.com/golang/term.git
synced 2026-02-08 19:56:05 +03:00
Some packages depending on golang.org/x/term still need to build with old Go versions and adding these build tags allows them build this package with Go 1.11 and older. Change-Id: I82d8c71120ff82d8ace07f96636f16c86edb15e5 Reviewed-on: https://go-review.googlesource.com/c/term/+/312249 Trust: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Ian Lance Taylor <iant@golang.org>
14 lines
311 B
Go
14 lines
311 B
Go
// Copyright 2020 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 zos
|
|
// +build zos
|
|
|
|
package term
|
|
|
|
import "golang.org/x/sys/unix"
|
|
|
|
const ioctlReadTermios = unix.TCGETS
|
|
const ioctlWriteTermios = unix.TCSETS
|