github.com/turingchain2020/turingchain@v1.1.21/common/log/log15/term/terminal_darwin.go (about) 1 // Copyright Turing Corp. 2018 All Rights Reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 // Based on ssh/terminal: 6 // Copyright 2013 The Go Authors. All rights reserved. 7 // Use of this source code is governed by a BSD-style 8 // license that can be found in the LICENSE file. 9 // +build !appengine 10 11 package term 12 13 import "syscall" 14 15 const ioctlReadTermios = syscall.TIOCGETA 16 17 // Termios functions describe a general terminal interface that is 18 // provided to control asynchronous communications ports. 19 type Termios syscall.Termios