term/terminal_darwin.go
raw| 1 | // Based on ssh/terminal: |
| 2 | // Copyright 2013 The Go Authors. All rights reserved. |
| 3 | // Use of this source code is governed by a BSD-style |
| 4 | // license that can be found in the LICENSE file. |
| 5 | // +build !appengine |
| 6 | |
| 7 | package term |
| 8 | |
| 9 | import "syscall" |
| 10 | |
| 11 | const ioctlReadTermios = syscall.TIOCGETA |
| 12 | |
| 13 | // Termios functions describe a general terminal interface that is |
| 14 | // provided to control asynchronous communications ports. |
| 15 | type Termios syscall.Termios |