logrus/terminal_darwin.go

13 lines
292 B
Go
Raw Normal View History

2014-04-23 22:21:11 +04:00
// Based on ssh/terminal:
// 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.
package logrus
import "syscall"
const ioctlReadTermios = syscall.TIOCGETA
type Termios syscall.Termios