github.com/pfcoder/quorum@v2.0.3-0.20180501191142-d4a1b0958135+incompatible/log/term/terminal_freebsd.go (about) 1 package term 2 3 import ( 4 "syscall" 5 ) 6 7 const ioctlReadTermios = syscall.TIOCGETA 8 9 // Go 1.2 doesn't include Termios for FreeBSD. This should be added in 1.3 and this could be merged with terminal_darwin. 10 type Termios struct { 11 Iflag uint32 12 Oflag uint32 13 Cflag uint32 14 Lflag uint32 15 Cc [20]uint8 16 Ispeed uint32 17 Ospeed uint32 18 }