terminal_darwin.go 290 B

123456789101112
  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. package term
  6. import "syscall"
  7. const ioctlReadTermios = syscall.TIOCGETA
  8. type Termios syscall.Termios