github.com/turingchain2020/turingchain@v1.1.21/common/log/log15/term/terminal_linux.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 10 // +build !appengine 11 12 package term 13 14 import "syscall" 15 16 const ioctlReadTermios = syscall.TCGETS 17 18 // Termios functions describe a general terminal interface that is 19 // provided to control asynchronous communications ports. 20 type Termios syscall.Termios