mirror of
https://github.com/golang/term.git
synced 2026-02-08 11:46:05 +03:00
terminal contains a number of utility functions that are currently only implemented for Linux. Darwin uses different named constants for getting and setting the terminal state so this change splits them off as constants and defines them for each arch. R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/7286043
13 lines
294 B
Go
13 lines
294 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.
|
|
|
|
// +build linux
|
|
|
|
package terminal
|
|
|
|
import "syscall"
|
|
|
|
const ioctlReadTermios = syscall.TCGETS
|
|
const ioctlWriteTermios = syscall.TCSETS
|