terminal_linux.go 290 B

12345678910111213
  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 logrus
  6. import "syscall"
  7. const ioctlReadTermios = syscall.TCGETS
  8. type Termios syscall.Termios